summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-2.6.26/294-eeprom_new_notifier.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-06 20:55:33 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-06 20:55:33 +0000
commit0f80ce2088410d9ccb5f3c8070210af67c787ae0 (patch)
tree902ba8bee0eeb73fdb63e9402112c8c0ff4fb12f /target/linux/ixp4xx/patches-2.6.26/294-eeprom_new_notifier.patch
parente3187ca12f98fa5966b8db5ab112a7cc17cfd8f0 (diff)
[kernel] refresh 2.6.26 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13135 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.26/294-eeprom_new_notifier.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.26/294-eeprom_new_notifier.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.26/294-eeprom_new_notifier.patch b/target/linux/ixp4xx/patches-2.6.26/294-eeprom_new_notifier.patch
index 1f48980523..1cf1f9ab02 100644
--- a/target/linux/ixp4xx/patches-2.6.26/294-eeprom_new_notifier.patch
+++ b/target/linux/ixp4xx/patches-2.6.26/294-eeprom_new_notifier.patch
@@ -9,7 +9,7 @@
/* Addresses to scan */
static const unsigned short normal_i2c[] = { 0x50, 0x51, 0x52, 0x53, 0x54,
-@@ -41,26 +43,7 @@
+@@ -41,26 +43,7 @@ static const unsigned short normal_i2c[]
/* Insmod parameters */
I2C_CLIENT_INSMOD_1(eeprom);
@@ -37,7 +37,7 @@
static int eeprom_attach_adapter(struct i2c_adapter *adapter);
static int eeprom_detect(struct i2c_adapter *adapter, int address, int kind);
-@@ -197,6 +180,7 @@
+@@ -197,6 +180,7 @@ static int eeprom_detect(struct i2c_adap
data->valid = 0;
mutex_init(&data->update_lock);
data->nature = UNKNOWN;
@@ -45,7 +45,7 @@
/* Tell the I2C layer a new client has arrived */
if ((err = i2c_attach_client(new_client)))
-@@ -224,6 +208,9 @@
+@@ -224,6 +208,9 @@ static int eeprom_detect(struct i2c_adap
if (err)
goto exit_detach;
@@ -55,7 +55,7 @@
return 0;
exit_detach:
-@@ -249,6 +236,41 @@
+@@ -249,6 +236,41 @@ static int eeprom_detach_client(struct i
return 0;
}
@@ -173,7 +173,7 @@
+#endif /* _LINUX_EEPROM_H */
--- a/include/linux/notifier.h
+++ b/include/linux/notifier.h
-@@ -253,5 +253,8 @@
+@@ -253,5 +253,8 @@ extern struct blocking_notifier_head reb
#define VT_UPDATE 0x0004 /* A bigger update occurred */
#define VT_PREWRITE 0x0005 /* A char is about to be written to the console */