From 4eeb9fe84742af67c775afd5055b672b0639a244 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Fri, 19 Mar 2021 15:57:06 +0800 Subject: power: pca9450: add a new parameter for power_pca9450_init Currently PCA9450 might have address 0x25 or 0x35, so let user choose the address. Signed-off-by: Peng Fan Reviewed-by: Jaehoon Chung --- include/power/pca9450.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/power') diff --git a/include/power/pca9450.h b/include/power/pca9450.h index 5a9a697..27703bb 100644 --- a/include/power/pca9450.h +++ b/include/power/pca9450.h @@ -54,6 +54,6 @@ enum { PCA9450_REG_NUM, }; -int power_pca9450_init(unsigned char bus); +int power_pca9450_init(unsigned char bus, unsigned char addr); #endif -- cgit v1.1