diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2003-04-23 21:13:08 -0700 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2003-04-23 21:13:08 -0700 |
| commit | 24cd42ee8bac4382392165d3c9f7b5b18e6e27d2 (patch) | |
| tree | f0e1f5758749fb98ad6786b128b65d9d3fcbeb9b /include/linux | |
| parent | 3371decde780b35626749516832475590d8181ab (diff) | |
[PATCH] i2c: removed unused flags paramater in found_proc callback.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/i2c.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 12befd6bd7e0..1797afd7289a 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -338,12 +338,9 @@ extern int i2c_check_addr (struct i2c_adapter *adapter, int addr); * It will only call found_proc if some client is connected at the * specific address (unless a 'force' matched); */ -typedef int i2c_client_found_addr_proc (struct i2c_adapter *adapter, - int addr, unsigned short flags,int kind); - extern int i2c_probe(struct i2c_adapter *adapter, struct i2c_client_address_data *address_data, - i2c_client_found_addr_proc *found_proc); + int (*found_proc) (struct i2c_adapter *, int, int)); /* An ioctl like call to set div. parameters of the adapter. */ |
