mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-02 09:03:27 +08:00
power: make pfuze100 be able to coexist with other pmics
Avoid uding pmic_init() as this forces the model of only allowing a single PMIC driver to be built at a time. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
parent
3deb22a484
commit
93a6d92cfa
@ -11,7 +11,7 @@
|
||||
#include <power/pmic.h>
|
||||
#include <power/pfuze100_pmic.h>
|
||||
|
||||
int pmic_init(unsigned char bus)
|
||||
int power_pfuze100_init(unsigned char bus)
|
||||
{
|
||||
static const char name[] = "PFUZE100_PMIC";
|
||||
struct pmic *p = pmic_alloc();
|
||||
|
@ -93,4 +93,5 @@ enum {
|
||||
#define SWBST_MODE_AUTO (2 << 2)
|
||||
#define SWBST_MODE_APS (2 << 3)
|
||||
|
||||
int power_pfuze100_init(unsigned char bus);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user