diff options
Diffstat (limited to 'include/asm-powerpc/pmac_low_i2c.h')
-rw-r--r-- | include/asm-powerpc/pmac_low_i2c.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/pmac_low_i2c.h b/include/asm-powerpc/pmac_low_i2c.h index adf4fa956572..480018f41e1a 100644 --- a/include/asm-powerpc/pmac_low_i2c.h +++ b/include/asm-powerpc/pmac_low_i2c.h | |||
@@ -70,6 +70,7 @@ extern struct device_node *pmac_i2c_get_controller(struct pmac_i2c_bus *bus); | |||
70 | extern struct device_node *pmac_i2c_get_bus_node(struct pmac_i2c_bus *bus); | 70 | extern struct device_node *pmac_i2c_get_bus_node(struct pmac_i2c_bus *bus); |
71 | extern int pmac_i2c_get_type(struct pmac_i2c_bus *bus); | 71 | extern int pmac_i2c_get_type(struct pmac_i2c_bus *bus); |
72 | extern int pmac_i2c_get_flags(struct pmac_i2c_bus *bus); | 72 | extern int pmac_i2c_get_flags(struct pmac_i2c_bus *bus); |
73 | extern int pmac_i2c_get_channel(struct pmac_i2c_bus *bus); | ||
73 | 74 | ||
74 | /* i2c layer adapter attach/detach */ | 75 | /* i2c layer adapter attach/detach */ |
75 | extern void pmac_i2c_attach_adapter(struct pmac_i2c_bus *bus, | 76 | extern void pmac_i2c_attach_adapter(struct pmac_i2c_bus *bus, |
@@ -77,6 +78,7 @@ extern void pmac_i2c_attach_adapter(struct pmac_i2c_bus *bus, | |||
77 | extern void pmac_i2c_detach_adapter(struct pmac_i2c_bus *bus, | 78 | extern void pmac_i2c_detach_adapter(struct pmac_i2c_bus *bus, |
78 | struct i2c_adapter *adapter); | 79 | struct i2c_adapter *adapter); |
79 | extern struct i2c_adapter *pmac_i2c_get_adapter(struct pmac_i2c_bus *bus); | 80 | extern struct i2c_adapter *pmac_i2c_get_adapter(struct pmac_i2c_bus *bus); |
81 | extern struct pmac_i2c_bus *pmac_i2c_adapter_to_bus(struct i2c_adapter *adapter); | ||
80 | 82 | ||
81 | /* March a device or bus with an i2c adapter structure, to be used by drivers | 83 | /* March a device or bus with an i2c adapter structure, to be used by drivers |
82 | * to match device-tree nodes with i2c adapters during adapter discovery | 84 | * to match device-tree nodes with i2c adapters during adapter discovery |