Skip to content

Commit c90c025

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
rtc: Add SPI alias for pcf2123 driver
Without this alias, Device Tree won't cause the driver to be loaded. See: #1510
1 parent 879f9e2 commit c90c025

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/rtc/rtc-pcf2123.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,3 +479,4 @@ module_spi_driver(pcf2123_driver);
479479
MODULE_AUTHOR("Chris Verges <[email protected]>");
480480
MODULE_DESCRIPTION("NXP PCF2123 RTC driver");
481481
MODULE_LICENSE("GPL");
482+
MODULE_ALIAS("spi:rtc-pcf2123");

0 commit comments

Comments
 (0)