0409-rtc-Add-SPI-alias-for-pcf2123-driver.patch 658 B

1234567891011121314151617181920
  1. From a7d1c71c6a12c3397d8a86f92980c0fbdf794d76 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Wed, 15 Jun 2016 16:48:41 +0100
  4. Subject: [PATCH] rtc: Add SPI alias for pcf2123 driver
  5. Without this alias, Device Tree won't cause the driver
  6. to be loaded.
  7. See: https://github.com/raspberrypi/linux/pull/1510
  8. ---
  9. drivers/rtc/rtc-pcf2123.c | 1 +
  10. 1 file changed, 1 insertion(+)
  11. --- a/drivers/rtc/rtc-pcf2123.c
  12. +++ b/drivers/rtc/rtc-pcf2123.c
  13. @@ -358,3 +358,4 @@ MODULE_AUTHOR("Chris Verges <chrisv@cybe
  14. MODULE_DESCRIPTION("NXP PCF2123 RTC driver");
  15. MODULE_LICENSE("GPL");
  16. MODULE_VERSION(DRV_VERSION);
  17. +MODULE_ALIAS("spi:rtc-pcf2123");