aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-12-14 15:17:26 -0500
committerJean Delvare <khali@linux-fr.org>2009-12-14 15:17:26 -0500
commit1f86df49ddfd0067cce941187d57b2fd2f749a9e (patch)
treea8357108c8be9e39d040e71d473df4a8f46550da /include/linux/i2c.h
parentc3813d6af177fab19e322f3114b1f64fbcf08d71 (diff)
i2c: Drop I2C_CLIENT_INSMOD_1
This macro simply declares an enum, so drivers might as well declare it themselves. Signed-off-by: Jean Delvare <khali@linux-fr.org> Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index fb9df1416ad..7178b27146e 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -604,11 +604,6 @@ union i2c_smbus_data {
604 604
605/* These are the ones you want to use in your own drivers. Pick the one 605/* These are the ones you want to use in your own drivers. Pick the one
606 which matches the number of devices the driver differenciates between. */ 606 which matches the number of devices the driver differenciates between. */
607#define I2C_CLIENT_INSMOD
608
609#define I2C_CLIENT_INSMOD_1(chip1) \
610enum chips { any_chip, chip1 }
611
612#define I2C_CLIENT_INSMOD_2(chip1, chip2) \ 607#define I2C_CLIENT_INSMOD_2(chip1, chip2) \
613enum chips { any_chip, chip1, chip2 } 608enum chips { any_chip, chip1, chip2 }
614 609