diff options
-rw-r--r-- | arch/arm/mach-pxa/colibri-pxa300.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/colibri-pxa320.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-pxa/Makefile | 4 | ||||
-rw-r--r-- | drivers/pcmcia/pxa2xx_base.c | 4 | ||||
-rw-r--r-- | drivers/pcmcia/pxa2xx_palmld.c | 4 |
5 files changed, 9 insertions, 7 deletions
diff --git a/arch/arm/mach-pxa/colibri-pxa300.c b/arch/arm/mach-pxa/colibri-pxa300.c index 169ab552c21a..10c2eaf93230 100644 --- a/arch/arm/mach-pxa/colibri-pxa300.c +++ b/arch/arm/mach-pxa/colibri-pxa300.c | |||
@@ -172,7 +172,7 @@ void __init colibri_pxa300_init(void) | |||
172 | colibri_pxa300_init_eth(); | 172 | colibri_pxa300_init_eth(); |
173 | colibri_pxa300_init_ohci(); | 173 | colibri_pxa300_init_ohci(); |
174 | colibri_pxa300_init_lcd(); | 174 | colibri_pxa300_init_lcd(); |
175 | colibri_pxa3xx_init_lcd(mfp_to_gpio(GPIO49_GPIO)); | 175 | colibri_pxa3xx_init_lcd(mfp_to_gpio(GPIO39_GPIO)); |
176 | colibri_pxa310_init_ac97(); | 176 | colibri_pxa310_init_ac97(); |
177 | colibri_pxa3xx_init_mmc(ARRAY_AND_SIZE(colibri_pxa300_mmc_pin_config), | 177 | colibri_pxa3xx_init_mmc(ARRAY_AND_SIZE(colibri_pxa300_mmc_pin_config), |
178 | mfp_to_gpio(MFP_PIN_GPIO13)); | 178 | mfp_to_gpio(MFP_PIN_GPIO13)); |
diff --git a/arch/arm/mach-pxa/colibri-pxa320.c b/arch/arm/mach-pxa/colibri-pxa320.c index 573a9a1dd529..55b74a7a6151 100644 --- a/arch/arm/mach-pxa/colibri-pxa320.c +++ b/arch/arm/mach-pxa/colibri-pxa320.c | |||
@@ -169,7 +169,7 @@ void __init colibri_pxa320_init(void) | |||
169 | colibri_pxa320_init_eth(); | 169 | colibri_pxa320_init_eth(); |
170 | colibri_pxa320_init_ohci(); | 170 | colibri_pxa320_init_ohci(); |
171 | colibri_pxa320_init_lcd(); | 171 | colibri_pxa320_init_lcd(); |
172 | colibri_pxa3xx_init_lcd(mfp_to_gpio(GPIO39_GPIO)); | 172 | colibri_pxa3xx_init_lcd(mfp_to_gpio(GPIO49_GPIO)); |
173 | colibri_pxa320_init_ac97(); | 173 | colibri_pxa320_init_ac97(); |
174 | colibri_pxa3xx_init_mmc(ARRAY_AND_SIZE(colibri_pxa320_mmc_pin_config), | 174 | colibri_pxa3xx_init_mmc(ARRAY_AND_SIZE(colibri_pxa320_mmc_pin_config), |
175 | mfp_to_gpio(MFP_PIN_GPIO28)); | 175 | mfp_to_gpio(MFP_PIN_GPIO28)); |
diff --git a/arch/arm/plat-pxa/Makefile b/arch/arm/plat-pxa/Makefile index 4be37235f57b..8f2c4c7fbd48 100644 --- a/arch/arm/plat-pxa/Makefile +++ b/arch/arm/plat-pxa/Makefile | |||
@@ -2,6 +2,8 @@ | |||
2 | # Makefile for code common across different PXA processor families | 2 | # Makefile for code common across different PXA processor families |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := dma.o mfp.o | 5 | obj-y := dma.o |
6 | 6 | ||
7 | obj-$(CONFIG_GENERIC_GPIO) += gpio.o | 7 | obj-$(CONFIG_GENERIC_GPIO) += gpio.o |
8 | obj-$(CONFIG_PXA3xx) += mfp.o | ||
9 | obj-$(CONFIG_ARCH_MMP) += mfp.o | ||
diff --git a/drivers/pcmcia/pxa2xx_base.c b/drivers/pcmcia/pxa2xx_base.c index 16f84aab6ab3..c49a7269f6d1 100644 --- a/drivers/pcmcia/pxa2xx_base.c +++ b/drivers/pcmcia/pxa2xx_base.c | |||
@@ -214,7 +214,7 @@ static void pxa2xx_configure_sockets(struct device *dev) | |||
214 | MECR |= MECR_CIT; | 214 | MECR |= MECR_CIT; |
215 | 215 | ||
216 | /* Set MECR:NOS (Number Of Sockets) */ | 216 | /* Set MECR:NOS (Number Of Sockets) */ |
217 | if (ops->nr > 1 || machine_is_viper()) | 217 | if ((ops->first + ops->nr) > 1 || machine_is_viper()) |
218 | MECR |= MECR_NOS; | 218 | MECR |= MECR_NOS; |
219 | else | 219 | else |
220 | MECR &= ~MECR_NOS; | 220 | MECR &= ~MECR_NOS; |
@@ -250,7 +250,7 @@ int __pxa2xx_drv_pcmcia_probe(struct device *dev) | |||
250 | for (i = 0; i < ops->nr; i++) { | 250 | for (i = 0; i < ops->nr; i++) { |
251 | skt = &sinfo->skt[i]; | 251 | skt = &sinfo->skt[i]; |
252 | 252 | ||
253 | skt->nr = i; | 253 | skt->nr = ops->first + i; |
254 | skt->irq = NO_IRQ; | 254 | skt->irq = NO_IRQ; |
255 | 255 | ||
256 | skt->res_skt.start = _PCMCIA(skt->nr); | 256 | skt->res_skt.start = _PCMCIA(skt->nr); |
diff --git a/drivers/pcmcia/pxa2xx_palmld.c b/drivers/pcmcia/pxa2xx_palmld.c index 1736c67e547e..5ba9b3664a00 100644 --- a/drivers/pcmcia/pxa2xx_palmld.c +++ b/drivers/pcmcia/pxa2xx_palmld.c | |||
@@ -98,8 +98,8 @@ static void palmld_pcmcia_socket_suspend(struct soc_pcmcia_socket *skt) | |||
98 | static struct pcmcia_low_level palmld_pcmcia_ops = { | 98 | static struct pcmcia_low_level palmld_pcmcia_ops = { |
99 | .owner = THIS_MODULE, | 99 | .owner = THIS_MODULE, |
100 | 100 | ||
101 | .first = 0, | 101 | .first = 1, |
102 | .nr = 2, | 102 | .nr = 1, |
103 | 103 | ||
104 | .hw_init = palmld_pcmcia_hw_init, | 104 | .hw_init = palmld_pcmcia_hw_init, |
105 | .hw_shutdown = palmld_pcmcia_hw_shutdown, | 105 | .hw_shutdown = palmld_pcmcia_hw_shutdown, |