summaryrefslogtreecommitdiff
path: root/include/linux/i2c-algo-bit.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-05-02 01:26:31 +0400
committerJean Delvare <khali@hyperion.delvare>2007-05-02 01:26:31 +0400
commit0f3b48385213355a2d4408bec1b481ffcf0e8638 (patch)
tree7684461552fd477e94cb36d90983e7cc0c35356f /include/linux/i2c-algo-bit.h
parentc05646069ccf8e94031ca9c8ab18fff35ba4405e (diff)
downloadlinux-0f3b48385213355a2d4408bec1b481ffcf0e8638.tar.xz
i2c-algo-bit: Add i2c_bit_add_numbered_bus
Add i2c_bit_add_numbered_bus(), which is equivalent to i2c_bit_add_bus except that it calls i2c_add_numbered_adapter() at the end instead of i2c_add_adapter(). Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/i2c-algo-bit.h')
-rw-r--r--include/linux/i2c-algo-bit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c-algo-bit.h b/include/linux/i2c-algo-bit.h
index 937da70cb4c4..d91dab886357 100644
--- a/include/linux/i2c-algo-bit.h
+++ b/include/linux/i2c-algo-bit.h
@@ -44,5 +44,6 @@ struct i2c_algo_bit_data {
};
int i2c_bit_add_bus(struct i2c_adapter *);
+int i2c_bit_add_numbered_bus(struct i2c_adapter *);
#endif /* _LINUX_I2C_ALGO_BIT_H */