diff options
author | Robby Cai <R63905@freescale.com> | 2011-05-06 07:27:17 +0800 |
---|---|---|
committer | Robby Cai <R63905@freescale.com> | 2011-05-09 11:16:21 +0800 |
commit | c494f62c48ca4342fc0a5ce6324d72180013fd3f (patch) | |
tree | 3f98ce2ac72551ae2e67303ca996b0483fa5d2dc /include | |
parent | 8080f3db2bf0865063018a59f155002ed7220890 (diff) |
ENGR00143050-1 PMIC: Generalize the interface for PMIC via I2C
Abstract the interfaces in pmic_core_i2c.c, in order to
accept new PMIC via I2C interface.
Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pmic_external.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pmic_external.h b/include/linux/pmic_external.h index cc66a33e1299..dd6c7c11b5a3 100644 --- a/include/linux/pmic_external.h +++ b/include/linux/pmic_external.h @@ -508,6 +508,7 @@ unsigned int pmic_get_active_events(unsigned int *active_events); int pmic_event_mask(type_event event); int pmic_event_unmask(type_event event); int pmic_spi_setup(struct spi_device *spi); +int pmic_i2c_setup(struct i2c_client *i2c); #endif /*CONFIG_MXC_PMIC*/ #endif /* __KERNEL__ */ |