提交 3a504064 编写于 作者: P Phil Elwell 提交者: Zheng Zengkai

rtc: Add SPI alias for pcf2123 driver

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

Without this alias, Device Tree won't cause the driver
to be loaded.

See: https://github.com/raspberrypi/linux/pull/1510Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 31a066b7
...@@ -465,3 +465,4 @@ module_spi_driver(pcf2123_driver); ...@@ -465,3 +465,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");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册