pxa/hx4700: Remove pcmcia platform_device structure
authorPaul Parsons <lost.distance@yahoo.com>
Fri, 9 Mar 2012 14:57:56 +0000 (14:57 +0000)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Wed, 14 Mar 2012 08:54:11 +0000 (16:54 +0800)
The existing pcmcia platform_device structure is not used and is not needed by
the pending hx4700 PCMCIA/CF support. So let's remove it.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>

arch/arm/mach-pxa/hx4700.c

index f49043c..0e7806a 100644 (file)
@@ -787,17 +787,6 @@ static struct platform_device audio = {
 };
 
 
-/*
- * PCMCIA
- */
-
-static struct platform_device pcmcia = {
-       .name = "hx4700-pcmcia",
-       .dev  = {
-               .parent = &asic3.dev,
-       },
-};
-
 /*
  * Platform devices
  */
@@ -814,7 +803,6 @@ static struct platform_device *devices[] __initdata = {
        &power_supply,
        &strataflash,
        &audio,
-       &pcmcia,
 };
 
 static struct gpio global_gpios[] = {