summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-2.6.25/294-eeprom_new_notifier.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-05-19 10:58:03 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-05-19 10:58:03 +0000
commit7758bda7d0615a0fe185b527cb3f4f04a27eb82c (patch)
tree163c4e19a20aa9425d88f18c5fde2cf30e70dc09 /target/linux/ixp4xx/patches-2.6.25/294-eeprom_new_notifier.patch
parent51e45450f185c839ecab7062facbecc7cff9953c (diff)
downloadmtk-20170518-7758bda7d0615a0fe185b527cb3f4f04a27eb82c.zip
mtk-20170518-7758bda7d0615a0fe185b527cb3f4f04a27eb82c.tar.gz
mtk-20170518-7758bda7d0615a0fe185b527cb3f4f04a27eb82c.tar.bz2
refresh kernel patches
SVN-Revision: 11204
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.25/294-eeprom_new_notifier.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.25/294-eeprom_new_notifier.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.25/294-eeprom_new_notifier.patch b/target/linux/ixp4xx/patches-2.6.25/294-eeprom_new_notifier.patch
index e8e59df..5849a7b 100644
--- a/target/linux/ixp4xx/patches-2.6.25/294-eeprom_new_notifier.patch
+++ b/target/linux/ixp4xx/patches-2.6.25/294-eeprom_new_notifier.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.25.1/drivers/i2c/chips/eeprom.c
+Index: linux-2.6.25.4/drivers/i2c/chips/eeprom.c
===================================================================
---- linux-2.6.25.1.orig/drivers/i2c/chips/eeprom.c
-+++ linux-2.6.25.1/drivers/i2c/chips/eeprom.c
+--- linux-2.6.25.4.orig/drivers/i2c/chips/eeprom.c
++++ linux-2.6.25.4/drivers/i2c/chips/eeprom.c
@@ -33,6 +33,8 @@
#include <linux/jiffies.h>
#include <linux/i2c.h>
@@ -99,10 +99,10 @@ Index: linux-2.6.25.1/drivers/i2c/chips/eeprom.c
static int __init eeprom_init(void)
{
return i2c_add_driver(&eeprom_driver);
-Index: linux-2.6.25.1/include/linux/eeprom.h
+Index: linux-2.6.25.4/include/linux/eeprom.h
===================================================================
--- /dev/null
-+++ linux-2.6.25.1/include/linux/eeprom.h
++++ linux-2.6.25.4/include/linux/eeprom.h
@@ -0,0 +1,71 @@
+#ifndef _LINUX_EEPROM_H
+#define _LINUX_EEPROM_H
@@ -175,10 +175,10 @@ Index: linux-2.6.25.1/include/linux/eeprom.h
+extern int unregister_eeprom_notifier(struct notifier_block *nb);
+
+#endif /* _LINUX_EEPROM_H */
-Index: linux-2.6.25.1/include/linux/notifier.h
+Index: linux-2.6.25.4/include/linux/notifier.h
===================================================================
---- linux-2.6.25.1.orig/include/linux/notifier.h
-+++ linux-2.6.25.1/include/linux/notifier.h
+--- linux-2.6.25.4.orig/include/linux/notifier.h
++++ linux-2.6.25.4/include/linux/notifier.h
@@ -248,5 +248,8 @@ extern struct blocking_notifier_head reb
#define VT_WRITE 0x0003 /* A char got output */
#define VT_UPDATE 0x0004 /* A bigger update occurred */