diff options
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/Kconfig | 2 | ||||
-rw-r--r-- | drivers/pcmcia/m32r_cfc.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index 9f3adbd9f700..7e9fd38e14fb 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig | |||
@@ -238,14 +238,12 @@ config PCMCIA_PROBE | |||
238 | config M32R_PCC | 238 | config M32R_PCC |
239 | bool "M32R PCMCIA I/F" | 239 | bool "M32R PCMCIA I/F" |
240 | depends on M32R && CHIP_M32700 && PCMCIA | 240 | depends on M32R && CHIP_M32700 && PCMCIA |
241 | select PCCARD_NONSTATIC | ||
242 | help | 241 | help |
243 | Say Y here to use the M32R PCMCIA controller. | 242 | Say Y here to use the M32R PCMCIA controller. |
244 | 243 | ||
245 | config M32R_CFC | 244 | config M32R_CFC |
246 | bool "M32R CF I/F Controller" | 245 | bool "M32R CF I/F Controller" |
247 | depends on M32R && (PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT) | 246 | depends on M32R && (PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT) |
248 | select PCCARD_NONSTATIC | ||
249 | help | 247 | help |
250 | Say Y here to use the M32R CompactFlash controller. | 248 | Say Y here to use the M32R CompactFlash controller. |
251 | 249 | ||
diff --git a/drivers/pcmcia/m32r_cfc.c b/drivers/pcmcia/m32r_cfc.c index 26a621c9e2fc..0ece2cd4a85e 100644 --- a/drivers/pcmcia/m32r_cfc.c +++ b/drivers/pcmcia/m32r_cfc.c | |||
@@ -764,7 +764,7 @@ static int __init init_m32r_pcc(void) | |||
764 | for (i = 0 ; i < pcc_sockets ; i++) { | 764 | for (i = 0 ; i < pcc_sockets ; i++) { |
765 | socket[i].socket.dev.parent = &pcc_device.dev; | 765 | socket[i].socket.dev.parent = &pcc_device.dev; |
766 | socket[i].socket.ops = &pcc_operations; | 766 | socket[i].socket.ops = &pcc_operations; |
767 | socket[i].socket.resource_ops = &pccard_nonstatic_ops; | 767 | socket[i].socket.resource_ops = &pccard_static_ops; |
768 | socket[i].socket.owner = THIS_MODULE; | 768 | socket[i].socket.owner = THIS_MODULE; |
769 | socket[i].number = i; | 769 | socket[i].number = i; |
770 | ret = pcmcia_register_socket(&socket[i].socket); | 770 | ret = pcmcia_register_socket(&socket[i].socket); |