summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2004-11-08 00:34:36 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-11-08 00:34:36 -0800
commitdced69a05850a773af702c9721db0c669f4dfabf (patch)
tree025705ebd02c1ee106aced4b5f0d3f6c0216d642 /include/linux
parenta3422b845251c5b208a6853b75c4cd6dea3f2ec7 (diff)
I2C: remove ignore_range from I2C sensor drivers, as it's not used.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/i2c-sensor.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/i2c-sensor.h b/include/linux/i2c-sensor.h
index 9b1c31180c69..fb38d276c3dd 100644
--- a/include/linux/i2c-sensor.h
+++ b/include/linux/i2c-sensor.h
@@ -63,12 +63,6 @@ struct i2c_force_data {
the ISA bus, -1 for any I2C bus), the second is the I2C address. These
addresses are never probed. This parameter overrules 'normal' and
'probe', but not the 'force' lists.
- ignore_range: insmod parameter. Initialize this list with I2C_CLIENT_ISA_END
- values.
- A list of triples. The first value is a bus number (ANY_I2C_ISA_BUS for
- the ISA bus, -1 for any I2C bus), the second and third are addresses.
- These form an inclusive range of I2C addresses that are never probed.
- This parameter overrules 'normal' and 'probe', but not the 'force' lists.
force_data: insmod parameters. A list, ending with an element of which
the force field is NULL.
*/
@@ -79,7 +73,6 @@ struct i2c_address_data {
unsigned int *normal_isa_range;
unsigned short *probe;
unsigned short *ignore;
- unsigned short *ignore_range;
struct i2c_force_data *forces;
};
@@ -95,9 +88,6 @@ struct i2c_address_data {
"List of adapter,address pairs to scan additionally"); \
I2C_CLIENT_MODULE_PARM(ignore, \
"List of adapter,address pairs not to scan"); \
- I2C_CLIENT_MODULE_PARM(ignore_range, \
- "List of adapter,start-addr,end-addr triples not to " \
- "scan"); \
static struct i2c_address_data addr_data = { \
.normal_i2c = normal_i2c, \
.normal_i2c_range = normal_i2c_range, \
@@ -105,7 +95,6 @@ struct i2c_address_data {
.normal_isa_range = normal_isa_range, \
.probe = probe, \
.ignore = ignore, \
- .ignore_range = ignore_range, \
.forces = forces, \
}