Searched refs:rtc_devt (Results 1 – 1 of 1) sorted by relevance
21 static dev_t rtc_devt; variable451 if (!rtc_devt) in rtc_dev_prepare()459 rtc->dev.devt = MKDEV(MAJOR(rtc_devt), rtc->id); in rtc_dev_prepare()474 err = alloc_chrdev_region(&rtc_devt, 0, RTC_DEV_MAX, "rtc"); in rtc_dev_init()481 if (rtc_devt) in rtc_dev_exit()482 unregister_chrdev_region(rtc_devt, RTC_DEV_MAX); in rtc_dev_exit()