mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
rtc: Add SPI alias for pcf2123 driver
Without this alias, Device Tree won't cause the driver to be loaded. See: https://github.com/raspberrypi/linux/pull/1510
This commit is contained in:
@@ -479,3 +479,4 @@ module_spi_driver(pcf2123_driver);
|
|||||||
MODULE_AUTHOR("Chris Verges <chrisv@cyberswitching.com>");
|
MODULE_AUTHOR("Chris Verges <chrisv@cyberswitching.com>");
|
||||||
MODULE_DESCRIPTION("NXP PCF2123 RTC driver");
|
MODULE_DESCRIPTION("NXP PCF2123 RTC driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_ALIAS("spi:rtc-pcf2123");
|
||||||
|
|||||||
Reference in New Issue
Block a user