aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf527
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-28 15:14:39 -0400
committerMike Frysinger <vapier@gentoo.org>2009-10-08 00:58:18 -0400
commit282246dae8d5757d1f13d61df2d1ebade99c978b (patch)
treeecf3c38620673de0209465c64ed2a37b91f3dd2a /arch/blackfin/mach-bf527
parent59bd00c85012af2b59ba8c1b47caaf10ccbfa3b1 (diff)
Blackfin: drop all simple-gpio board resources
The simple-gpio has been replaced by the gpio sysfs interface, so drop the unused simple-gpio resources from all Blackfin boards. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf527')
-rw-r--r--arch/blackfin/mach-bf527/boards/cm_bf527.c15
-rw-r--r--arch/blackfin/mach-bf527/boards/ezbrd.c15
-rw-r--r--arch/blackfin/mach-bf527/boards/ezkit.c15
3 files changed, 0 insertions, 45 deletions
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c
index 1c4f9e236b9f..f1996b13a3da 100644
--- a/arch/blackfin/mach-bf527/boards/cm_bf527.c
+++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c
@@ -799,19 +799,6 @@ static struct platform_device bfin_device_gpiokeys = {
799}; 799};
800#endif 800#endif
801 801
802static struct resource bfin_gpios_resources = {
803 .start = 0,
804 .end = MAX_BLACKFIN_GPIOS - 1,
805 .flags = IORESOURCE_IRQ,
806};
807
808static struct platform_device bfin_gpios_device = {
809 .name = "simple-gpio",
810 .id = -1,
811 .num_resources = 1,
812 .resource = &bfin_gpios_resources,
813};
814
815static const unsigned int cclk_vlev_datasheet[] = 802static const unsigned int cclk_vlev_datasheet[] =
816{ 803{
817 VRPAIR(VLEV_100, 400000000), 804 VRPAIR(VLEV_100, 400000000),
@@ -916,8 +903,6 @@ static struct platform_device *cmbf527_devices[] __initdata = {
916#if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) 903#if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE)
917 &cm_flash_device, 904 &cm_flash_device,
918#endif 905#endif
919
920 &bfin_gpios_device,
921}; 906};
922 907
923static int __init cm_init(void) 908static int __init cm_init(void)
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c
index db067036e00b..cad23b15d83c 100644
--- a/arch/blackfin/mach-bf527/boards/ezbrd.c
+++ b/arch/blackfin/mach-bf527/boards/ezbrd.c
@@ -589,19 +589,6 @@ static struct platform_device bfin_device_gpiokeys = {
589}; 589};
590#endif 590#endif
591 591
592static struct resource bfin_gpios_resources = {
593 .start = 0,
594 .end = MAX_BLACKFIN_GPIOS - 1,
595 .flags = IORESOURCE_IRQ,
596};
597
598static struct platform_device bfin_gpios_device = {
599 .name = "simple-gpio",
600 .id = -1,
601 .num_resources = 1,
602 .resource = &bfin_gpios_resources,
603};
604
605static const unsigned int cclk_vlev_datasheet[] = 592static const unsigned int cclk_vlev_datasheet[] =
606{ 593{
607 VRPAIR(VLEV_100, 400000000), 594 VRPAIR(VLEV_100, 400000000),
@@ -710,8 +697,6 @@ static struct platform_device *stamp_devices[] __initdata = {
710#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) 697#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
711 &ezbrd_flash_device, 698 &ezbrd_flash_device,
712#endif 699#endif
713
714 &bfin_gpios_device,
715}; 700};
716 701
717static int __init ezbrd_init(void) 702static int __init ezbrd_init(void)
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c
index 9fbdebeb0b1a..f09665f74ba0 100644
--- a/arch/blackfin/mach-bf527/boards/ezkit.c
+++ b/arch/blackfin/mach-bf527/boards/ezkit.c
@@ -882,19 +882,6 @@ static struct platform_device bfin_rotary_device = {
882}; 882};
883#endif 883#endif
884 884
885static struct resource bfin_gpios_resources = {
886 .start = 0,
887 .end = MAX_BLACKFIN_GPIOS - 1,
888 .flags = IORESOURCE_IRQ,
889};
890
891static struct platform_device bfin_gpios_device = {
892 .name = "simple-gpio",
893 .id = -1,
894 .num_resources = 1,
895 .resource = &bfin_gpios_resources,
896};
897
898static const unsigned int cclk_vlev_datasheet[] = 885static const unsigned int cclk_vlev_datasheet[] =
899{ 886{
900 VRPAIR(VLEV_100, 400000000), 887 VRPAIR(VLEV_100, 400000000),
@@ -1011,8 +998,6 @@ static struct platform_device *stamp_devices[] __initdata = {
1011#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) 998#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
1012 &ezkit_flash_device, 999 &ezkit_flash_device,
1013#endif 1000#endif
1014
1015 &bfin_gpios_device,
1016}; 1001};
1017 1002
1018static int __init ezkit_init(void) 1003static int __init ezkit_init(void)