aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/dmi.h3
-rw-r--r--include/linux/i2c-id.h36
2 files changed, 3 insertions, 36 deletions
diff --git a/include/linux/dmi.h b/include/linux/dmi.h
index b1251b2af568..bbc9992ec374 100644
--- a/include/linux/dmi.h
+++ b/include/linux/dmi.h
@@ -79,6 +79,7 @@ extern void dmi_scan_machine(void);
79extern int dmi_get_year(int field); 79extern int dmi_get_year(int field);
80extern int dmi_name_in_vendors(const char *str); 80extern int dmi_name_in_vendors(const char *str);
81extern int dmi_available; 81extern int dmi_available;
82extern int dmi_walk(void (*decode)(const struct dmi_header *));
82 83
83#else 84#else
84 85
@@ -89,6 +90,8 @@ static inline const struct dmi_device * dmi_find_device(int type, const char *na
89static inline int dmi_get_year(int year) { return 0; } 90static inline int dmi_get_year(int year) { return 0; }
90static inline int dmi_name_in_vendors(const char *s) { return 0; } 91static inline int dmi_name_in_vendors(const char *s) { return 0; }
91#define dmi_available 0 92#define dmi_available 0
93static inline int dmi_walk(void (*decode)(const struct dmi_header *))
94 { return -1; }
92 95
93#endif 96#endif
94 97
diff --git a/include/linux/i2c-id.h b/include/linux/i2c-id.h
index f922b060158b..b979112f74e0 100644
--- a/include/linux/i2c-id.h
+++ b/include/linux/i2c-id.h
@@ -96,42 +96,6 @@
96 96
97#define I2C_DRIVERID_I2CDEV 900 97#define I2C_DRIVERID_I2CDEV 900
98 98
99/* IDs -- Use DRIVERIDs 1000-1999 for sensors.
100 These were originally in sensors.h in the lm_sensors package */
101#define I2C_DRIVERID_LM78 1002
102#define I2C_DRIVERID_LM75 1003
103#define I2C_DRIVERID_GL518 1004
104#define I2C_DRIVERID_EEPROM 1005
105#define I2C_DRIVERID_W83781D 1006
106#define I2C_DRIVERID_LM80 1007
107#define I2C_DRIVERID_ADM1021 1008
108#define I2C_DRIVERID_ADM9240 1009
109#define I2C_DRIVERID_LTC1710 1010
110#define I2C_DRIVERID_BT869 1013
111#define I2C_DRIVERID_MAXILIFE 1014
112#define I2C_DRIVERID_MATORB 1015
113#define I2C_DRIVERID_GL520 1016
114#define I2C_DRIVERID_THMC50 1017
115#define I2C_DRIVERID_ADM1025 1020
116#define I2C_DRIVERID_LM87 1021
117#define I2C_DRIVERID_PCF8574 1022
118#define I2C_DRIVERID_MTP008 1023
119#define I2C_DRIVERID_DS1621 1024
120#define I2C_DRIVERID_ADM1024 1025
121#define I2C_DRIVERID_CH700X 1027 /* single driver for CH7003-7009 digital pc to tv encoders */
122#define I2C_DRIVERID_FSCPOS 1028
123#define I2C_DRIVERID_FSCSCY 1029
124#define I2C_DRIVERID_PCF8591 1030
125#define I2C_DRIVERID_LM92 1033
126#define I2C_DRIVERID_SMARTBATT 1035
127#define I2C_DRIVERID_BMCSENSORS 1036
128#define I2C_DRIVERID_FS451 1037
129#define I2C_DRIVERID_LM85 1039
130#define I2C_DRIVERID_LM83 1040
131#define I2C_DRIVERID_LM90 1042
132#define I2C_DRIVERID_ASB100 1043
133#define I2C_DRIVERID_FSCHER 1046
134#define I2C_DRIVERID_W83L785TS 1047
135#define I2C_DRIVERID_OV7670 1048 /* Omnivision 7670 camera */ 99#define I2C_DRIVERID_OV7670 1048 /* Omnivision 7670 camera */
136 100
137/* 101/*