aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-03-29 23:36:18 -0400
committerOlof Johansson <olof@lixom.net>2012-03-29 23:36:18 -0400
commitf00e9b11863abdb837e555a2b1e3417e8b5d80dd (patch)
treee7bf466d8c49d8bd86b3edb906a7ca5cd592bcf5 /arch/arm
parenta92e7023caf6c3a58b047a4c3fc9e4981b327bb8 (diff)
parent5616131daff6047d293b25a05cff7b1890efd6a3 (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.c1
-rw-r--r--arch/arm/mach-pxa/em-x270.c10
-rw-r--r--arch/arm/mach-pxa/hx4700.c2
-rw-r--r--arch/arm/mach-pxa/magician.c2
-rw-r--r--arch/arm/mach-pxa/stargate2.c2
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
715static struct regulator_consumer_supply buck2_consumers[] = { 715static 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
1094REGULATOR_CONSUMER(ldo3, &em_x270_gps_userspace_consumer.dev, "vcc gps"); 1094REGULATOR_CONSUMER(ldo3, "reg-userspace-consumer.0", "vcc gps");
1095REGULATOR_CONSUMER(ldo5, NULL, "vcc cam"); 1095REGULATOR_CONSUMER(ldo5, NULL, "vcc cam");
1096REGULATOR_CONSUMER(ldo10, &pxa_device_mci.dev, "vcc sdio"); 1096REGULATOR_CONSUMER(ldo10, "pxa2xx-mci", "vcc sdio");
1097REGULATOR_CONSUMER(ldo12, NULL, "vcc usb"); 1097REGULATOR_CONSUMER(ldo12, NULL, "vcc usb");
1098REGULATOR_CONSUMER(ldo19, &em_x270_gprs_userspace_consumer.dev, "vcc gprs"); 1098REGULATOR_CONSUMER(ldo19, "reg-userspace-consumer.1", "vcc gprs");
1099REGULATOR_CONSUMER(buck2, NULL, "vcc_core"); 1099REGULATOR_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
682static struct regulator_consumer_supply bq24022_consumers[] = { 682static 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
581static struct regulator_consumer_supply bq24022_consumers[] = { 581static 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
153static struct regulator_consumer_supply stargate2_sensor_3_con[] = { 153static 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};