diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-30 00:30:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-30 00:30:28 -0400 |
commit | 4bde23f8751f388867766b0a62ed1ef8b7e01561 (patch) | |
tree | 9ad3d165483fda3349c2bf0195406eebaa7af5ce /arch/arm/mach-pxa | |
parent | e152c38abaa92352679c9b53c4cce533c03997c6 (diff) | |
parent | f00e9b11863abdb837e555a2b1e3417e8b5d80dd (diff) |
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull arm-soc fixes from Olof Johansson:
"This is a first pass of some of the merge window fallout for ARM
platforms.
Nothing controversial:
- A system.h fallout fix for OMAP
- PXA fixes for breakage caused by the regulator struct changes
- GPIO fixes for OMAP to properly deal with dynamic IRQ allocation
- A mismerge in our arm-soc tree of an lpc32xx change for networking
- A fix for USB setup on tegra
- An undo of __init annotation of display mux setup on OMAP that's
needed at runtime"
* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
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: LPC32xx: clock.c: Fix lpc-eth clock reference
ARM: OMAP: pm: fix compilation break
ARM: OMAP: Remove OMAP_GPIO_IRQ macro definition
drivers: input: Fix OMAP_GPIO_IRQ with gpio_to_irq() in ams_delta_serio_exit()
ARM: OMAP: boards: Fix OMAP_GPIO_IRQ usage with gpio_to_irq()
ARM: pxa: fix regulator related build fail in magician_defconfig
ARM: tegra: Fix device tree AUXDATA for USB/EHCI
ARM: OMAP2+: Remove __init from DSI mux functions
Diffstat (limited to 'arch/arm/mach-pxa')
-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 638eebedc883..313274016277 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 c1b65da26335..16ec557b8e43 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 adb601a3762f..4cd645e29b64 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 | }; |