diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-10-26 15:14:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 17:02:13 -0400 |
commit | cd19cc4732395eb3dbaf49042233b5ac69b1fbd3 (patch) | |
tree | a904941e7033eac700530cdecdd759f933f6c9f0 | |
parent | 6344a8ece0bacccf61817450e8ccf78c973fc0c5 (diff) |
[PATCH] i2c: ID redefinition cleanups
Fix several redefinitions of i2c IDs. i2c IDs must not be defined
outside of i2c-id.h.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Henk Vergonet <henk@god.dyndns.org>
Acked-by: Mark McClelland <mark@alpha.dyndns.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/i2c/busses/i2c-prosavage.c | 5 | ||||
-rw-r--r-- | include/media/ovcamchip.h | 14 |
2 files changed, 0 insertions, 19 deletions
diff --git a/drivers/i2c/busses/i2c-prosavage.c b/drivers/i2c/busses/i2c-prosavage.c index 42f8b5ce3bf8..42cb1d8ca659 100644 --- a/drivers/i2c/busses/i2c-prosavage.c +++ b/drivers/i2c/busses/i2c-prosavage.c | |||
@@ -83,11 +83,6 @@ struct s_i2c_chip { | |||
83 | /* | 83 | /* |
84 | * i2c configuration | 84 | * i2c configuration |
85 | */ | 85 | */ |
86 | #ifndef I2C_HW_B_S3VIA | ||
87 | #define I2C_HW_B_S3VIA 0x18 /* S3VIA ProSavage adapter */ | ||
88 | #endif | ||
89 | |||
90 | /* delays */ | ||
91 | #define CYCLE_DELAY 10 | 86 | #define CYCLE_DELAY 10 |
92 | #define TIMEOUT (HZ / 2) | 87 | #define TIMEOUT (HZ / 2) |
93 | 88 | ||
diff --git a/include/media/ovcamchip.h b/include/media/ovcamchip.h index cb7c0aa96f22..8138983adced 100644 --- a/include/media/ovcamchip.h +++ b/include/media/ovcamchip.h | |||
@@ -17,20 +17,6 @@ | |||
17 | #include <linux/videodev.h> | 17 | #include <linux/videodev.h> |
18 | #include <linux/i2c.h> | 18 | #include <linux/i2c.h> |
19 | 19 | ||
20 | /* Remove these once they are officially defined */ | ||
21 | #ifndef I2C_DRIVERID_OVCAMCHIP | ||
22 | #define I2C_DRIVERID_OVCAMCHIP 0xf00f | ||
23 | #endif | ||
24 | #ifndef I2C_HW_SMBUS_OV511 | ||
25 | #define I2C_HW_SMBUS_OV511 0xfe | ||
26 | #endif | ||
27 | #ifndef I2C_HW_SMBUS_OV518 | ||
28 | #define I2C_HW_SMBUS_OV518 0xff | ||
29 | #endif | ||
30 | #ifndef I2C_HW_SMBUS_OVFX2 | ||
31 | #define I2C_HW_SMBUS_OVFX2 0xfd | ||
32 | #endif | ||
33 | |||
34 | /* --------------------------------- */ | 20 | /* --------------------------------- */ |
35 | /* ENUMERATIONS */ | 21 | /* ENUMERATIONS */ |
36 | /* --------------------------------- */ | 22 | /* --------------------------------- */ |