aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux/n2100/rtc-rs5c372-n2100.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux/n2100/rtc-rs5c372-n2100.patch')
-rw-r--r--recipes/linux/linux/n2100/rtc-rs5c372-n2100.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/linux/linux/n2100/rtc-rs5c372-n2100.patch b/recipes/linux/linux/n2100/rtc-rs5c372-n2100.patch
new file mode 100644
index 0000000000..8849312a44
--- /dev/null
+++ b/recipes/linux/linux/n2100/rtc-rs5c372-n2100.patch
@@ -0,0 +1,13 @@
+Autodetect the RTC chip.
+
+--- a/drivers/rtc/rtc-rs5c372.c
++++ b/drivers/rtc/rtc-rs5c372.c
+@@ -16,7 +16,7 @@ #include <linux/bcd.h>
+ #define DRV_VERSION "0.3"
+
+ /* Addresses to scan */
+-static unsigned short normal_i2c[] = { /* 0x32,*/ I2C_CLIENT_END };
++static unsigned short normal_i2c[] = { 0x32, I2C_CLIENT_END };
+
+ /* Insmod parameters */
+ I2C_CLIENT_INSMOD;