Home
last modified time | relevance | path

Searched refs:rtc_devt (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/rtc/
Drtc-dev.c21 static dev_t rtc_devt; variable
451 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()