diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2003-04-23 21:14:26 -0700 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2003-04-23 21:14:26 -0700 |
| commit | a10ce1d45e4a5ff83c587adb92c4f8da4fb95cc4 (patch) | |
| tree | e2149bd0b851b47549ff52564adfc6d49bcef418 /include | |
| parent | bb8d67e52137f98afb98b9c02d045577d6422b8d (diff) | |
[PATCH] i2c: removed unneeded typedef from i2c-sensor.h
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/i2c-sensor.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/i2c-sensor.h b/include/linux/i2c-sensor.h index a3181c83a750..fc1785648205 100644 --- a/include/linux/i2c-sensor.h +++ b/include/linux/i2c-sensor.h @@ -315,16 +315,13 @@ struct i2c_address_data { {NULL}}; \ SENSORS_INSMOD -typedef int i2c_found_addr_proc(struct i2c_adapter *adapter, - int addr, int kind); - /* Detect function. It iterates over all possible addresses itself. For SMBus addresses, it will only call found_proc if some client is connected to the SMBus (unless a 'force' matched); for ISA detections, this is not done. */ extern int i2c_detect(struct i2c_adapter *adapter, - struct i2c_address_data *address_data, - i2c_found_addr_proc * found_proc); + struct i2c_address_data *address_data, + int (*found_proc) (struct i2c_adapter *, int, int)); /* This macro is used to scale user-input to sensible values in almost all |
