mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00: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
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue