summaryrefslogtreecommitdiff
path: root/include/tps6586x.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tps6586x.h')
-rw-r--r--include/tps6586x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tps6586x.h b/include/tps6586x.h
index 78ce428767..eefc95f22e 100644
--- a/include/tps6586x.h
+++ b/include/tps6586x.h
@@ -44,9 +44,9 @@ int tps6586x_adjust_sm0_sm1(int sm0_target, int sm1_target, int step, int rate,
* Set up the TPS6586X I2C bus number. This will be used for all operations
* on the device. This function must be called before using other functions.
*
- * @param bus I2C bus number containing the TPS6586X chip
+ * @param bus I2C bus containing the TPS6586X chip
* @return 0 (always succeeds)
*/
-int tps6586x_init(int bus);
+int tps6586x_init(struct udevice *bus);
#endif /* _TPS6586X_H_ */