Searched refs:rtc_devt (Results 1 – 1 of 1) sorted by relevance
19 static dev_t rtc_devt; variable542 if (!rtc_devt) in rtc_dev_prepare()550 rtc->dev.devt = MKDEV(MAJOR(rtc_devt), rtc->id); in rtc_dev_prepare()565 err = alloc_chrdev_region(&rtc_devt, 0, RTC_DEV_MAX, "rtc"); in rtc_dev_init()