summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-10-26 21:14:16 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 14:02:13 -0700
commitcd19cc4732395eb3dbaf49042233b5ac69b1fbd3 (patch)
treea904941e7033eac700530cdecdd759f933f6c9f0 /include/media
parent6344a8ece0bacccf61817450e8ccf78c973fc0c5 (diff)
downloadop-kernel-dev-cd19cc4732395eb3dbaf49042233b5ac69b1fbd3.zip
op-kernel-dev-cd19cc4732395eb3dbaf49042233b5ac69b1fbd3.tar.gz
[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>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ovcamchip.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/media/ovcamchip.h b/include/media/ovcamchip.h
index cb7c0aa..8138983 100644
--- a/include/media/ovcamchip.h
+++ b/include/media/ovcamchip.h
@@ -17,20 +17,6 @@
#include <linux/videodev.h>
#include <linux/i2c.h>
-/* Remove these once they are officially defined */
-#ifndef I2C_DRIVERID_OVCAMCHIP
- #define I2C_DRIVERID_OVCAMCHIP 0xf00f
-#endif
-#ifndef I2C_HW_SMBUS_OV511
- #define I2C_HW_SMBUS_OV511 0xfe
-#endif
-#ifndef I2C_HW_SMBUS_OV518
- #define I2C_HW_SMBUS_OV518 0xff
-#endif
-#ifndef I2C_HW_SMBUS_OVFX2
- #define I2C_HW_SMBUS_OVFX2 0xfd
-#endif
-
/* --------------------------------- */
/* ENUMERATIONS */
/* --------------------------------- */
OpenPOWER on IntegriCloud