diff options
author | Olof Johansson <olof@lixom.net> | 2012-03-29 23:36:18 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-03-29 23:36:18 -0400 |
commit | f00e9b11863abdb837e555a2b1e3417e8b5d80dd (patch) | |
tree | e7bf466d8c49d8bd86b3edb906a7ca5cd592bcf5 /arch/arm | |
parent | a92e7023caf6c3a58b047a4c3fc9e4981b327bb8 (diff) | |
parent | 5616131daff6047d293b25a05cff7b1890efd6a3 (diff) |
Merge branch 'fixes' of git://github.com/hzhuang1/linux into fixes
* 'fixes' of git://github.com/hzhuang1/linux:
ARM: pxa: fix build issue on stargate2
ARM: pxa: fix build issue on cm-x300
ARM: pxa: fix build failure for regulator consumer in em-x270.c
ARM: pxa: fix regulator related build fail in magician_defconfig
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/cm-x300.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/em-x270.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-pxa/hx4700.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/stargate2.c | 2 |
5 files changed, 6 insertions, 11 deletions
diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index 895ee8c45009..0c920fccb79e 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c | |||
@@ -714,7 +714,6 @@ struct da9030_battery_info cm_x300_battery_info = { | |||
714 | 714 | ||
715 | static struct regulator_consumer_supply buck2_consumers[] = { | 715 | static struct regulator_consumer_supply buck2_consumers[] = { |
716 | { | 716 | { |
717 | .dev = NULL, | ||
718 | .supply = "vcc_core", | 717 | .supply = "vcc_core", |
719 | }, | 718 | }, |
720 | }; | 719 | }; |
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c index d80c0ba9a095..b88e11cd75ed 100644 --- a/arch/arm/mach-pxa/em-x270.c +++ b/arch/arm/mach-pxa/em-x270.c | |||
@@ -1083,19 +1083,19 @@ static void __init em_x270_userspace_consumers_init(void) | |||
1083 | } | 1083 | } |
1084 | 1084 | ||
1085 | /* DA9030 related initializations */ | 1085 | /* DA9030 related initializations */ |
1086 | #define REGULATOR_CONSUMER(_name, _dev, _supply) \ | 1086 | #define REGULATOR_CONSUMER(_name, _dev_name, _supply) \ |
1087 | static struct regulator_consumer_supply _name##_consumers[] = { \ | 1087 | static struct regulator_consumer_supply _name##_consumers[] = { \ |
1088 | { \ | 1088 | { \ |
1089 | .dev = _dev, \ | 1089 | .dev_name = _dev_name, \ |
1090 | .supply = _supply, \ | 1090 | .supply = _supply, \ |
1091 | }, \ | 1091 | }, \ |
1092 | } | 1092 | } |
1093 | 1093 | ||
1094 | REGULATOR_CONSUMER(ldo3, &em_x270_gps_userspace_consumer.dev, "vcc gps"); | 1094 | REGULATOR_CONSUMER(ldo3, "reg-userspace-consumer.0", "vcc gps"); |
1095 | REGULATOR_CONSUMER(ldo5, NULL, "vcc cam"); | 1095 | REGULATOR_CONSUMER(ldo5, NULL, "vcc cam"); |
1096 | REGULATOR_CONSUMER(ldo10, &pxa_device_mci.dev, "vcc sdio"); | 1096 | REGULATOR_CONSUMER(ldo10, "pxa2xx-mci", "vcc sdio"); |
1097 | REGULATOR_CONSUMER(ldo12, NULL, "vcc usb"); | 1097 | REGULATOR_CONSUMER(ldo12, NULL, "vcc usb"); |
1098 | REGULATOR_CONSUMER(ldo19, &em_x270_gprs_userspace_consumer.dev, "vcc gprs"); | 1098 | REGULATOR_CONSUMER(ldo19, "reg-userspace-consumer.1", "vcc gprs"); |
1099 | REGULATOR_CONSUMER(buck2, NULL, "vcc_core"); | 1099 | REGULATOR_CONSUMER(buck2, NULL, "vcc_core"); |
1100 | 1100 | ||
1101 | #define REGULATOR_INIT(_ldo, _min_uV, _max_uV, _ops_mask) \ | 1101 | #define REGULATOR_INIT(_ldo, _min_uV, _max_uV, _ops_mask) \ |
diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c index 3fa929d4a4f5..b83b95a29503 100644 --- a/arch/arm/mach-pxa/hx4700.c +++ b/arch/arm/mach-pxa/hx4700.c | |||
@@ -681,11 +681,9 @@ static struct platform_device power_supply = { | |||
681 | 681 | ||
682 | static struct regulator_consumer_supply bq24022_consumers[] = { | 682 | static struct regulator_consumer_supply bq24022_consumers[] = { |
683 | { | 683 | { |
684 | .dev = &gpio_vbus.dev, | ||
685 | .supply = "vbus_draw", | 684 | .supply = "vbus_draw", |
686 | }, | 685 | }, |
687 | { | 686 | { |
688 | .dev = &power_supply.dev, | ||
689 | .supply = "ac_draw", | 687 | .supply = "ac_draw", |
690 | }, | 688 | }, |
691 | }; | 689 | }; |
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 6f4785b347c2..8de0651d7efb 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c | |||
@@ -580,11 +580,9 @@ static struct platform_device power_supply = { | |||
580 | 580 | ||
581 | static struct regulator_consumer_supply bq24022_consumers[] = { | 581 | static struct regulator_consumer_supply bq24022_consumers[] = { |
582 | { | 582 | { |
583 | .dev = &gpio_vbus.dev, | ||
584 | .supply = "vbus_draw", | 583 | .supply = "vbus_draw", |
585 | }, | 584 | }, |
586 | { | 585 | { |
587 | .dev = &power_supply.dev, | ||
588 | .supply = "ac_draw", | 586 | .supply = "ac_draw", |
589 | }, | 587 | }, |
590 | }; | 588 | }; |
diff --git a/arch/arm/mach-pxa/stargate2.c b/arch/arm/mach-pxa/stargate2.c index b0656e158d90..227a6309dba7 100644 --- a/arch/arm/mach-pxa/stargate2.c +++ b/arch/arm/mach-pxa/stargate2.c | |||
@@ -152,7 +152,7 @@ static struct platform_device sht15 = { | |||
152 | 152 | ||
153 | static struct regulator_consumer_supply stargate2_sensor_3_con[] = { | 153 | static struct regulator_consumer_supply stargate2_sensor_3_con[] = { |
154 | { | 154 | { |
155 | .dev = &sht15.dev, | 155 | .dev_name = "sht15", |
156 | .supply = "vcc", | 156 | .supply = "vcc", |
157 | }, | 157 | }, |
158 | }; | 158 | }; |