drivers/rtc/rtc-cmos.c

Source file repositories/reference/linux-study-clean/drivers/rtc/rtc-cmos.c

File Facts

System
Linux kernel
Corpus path
drivers/rtc/rtc-cmos.c
Extension
.c
Size
37511 bytes
Lines
1512
Domain
Driver Families
Bucket
drivers/rtc
Inferred role
Driver Families: exported/initcall integration point
Status
integration implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

module_init(cmos_init);

static void __exit cmos_exit(void)
{
	if (platform_driver_registered)
		platform_driver_unregister(&cmos_platform_driver);
}
module_exit(cmos_exit);


MODULE_AUTHOR("David Brownell");
MODULE_DESCRIPTION("Driver for PC-style 'CMOS' RTCs");
MODULE_LICENSE("GPL");

Annotation

Implementation Notes