Searched refs:RTC_DEV_MAX (Results 1 – 1 of 1) sorted by relevance
21 #define RTC_DEV_MAX 16 /* 16 RTCs should be enough for everyone... */ macro483 if (rtc->id >= RTC_DEV_MAX) { in rtc_dev_prepare()519 err = alloc_chrdev_region(&rtc_devt, 0, RTC_DEV_MAX, "rtc"); in rtc_dev_init()528 unregister_chrdev_region(rtc_devt, RTC_DEV_MAX); in rtc_dev_exit()