[PATCH 3/4] MIPS: lantiq: cleanup machine specific files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The platform driver register functions called in every machine init function
get moved to setup-<SOC>.c. Also remove superflous pci register call from
Amazon SE machine code as the device and driver are not present on ASE.

Signed-off-by: John Crispin <blogic@xxxxxxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxx
---
 arch/mips/lantiq/xway/mach-easy50601.c |    8 --------
 arch/mips/lantiq/xway/mach-easy50712.c |    2 --
 2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/arch/mips/lantiq/xway/mach-easy50601.c b/arch/mips/lantiq/xway/mach-easy50601.c
index 34a41d9..0002128 100644
--- a/arch/mips/lantiq/xway/mach-easy50601.c
+++ b/arch/mips/lantiq/xway/mach-easy50601.c
@@ -50,17 +50,9 @@ static struct physmap_flash_data easy50601_flash_data = {
 #endif
 };
 
-static struct ltq_pci_data ltq_pci_data = {
-	.clock		= PCI_CLOCK_INT,
-	.req_mask	= 0xf,
-};
-
 static void __init easy50601_init(void)
 {
-	ltq_register_gpio();
 	ltq_register_nor(&easy50601_flash_data);
-	ltq_register_wdt();
-	ltq_register_pci(&ltq_pci_data);
 }
 
 MIPS_MACHINE(LTQ_MACH_EASY50601,
diff --git a/arch/mips/lantiq/xway/mach-easy50712.c b/arch/mips/lantiq/xway/mach-easy50712.c
index 0cbb30b..2512561 100644
--- a/arch/mips/lantiq/xway/mach-easy50712.c
+++ b/arch/mips/lantiq/xway/mach-easy50712.c
@@ -65,10 +65,8 @@ static struct ltq_eth_data ltq_eth_data = {
 
 static void __init easy50712_init(void)
 {
-	ltq_register_gpio();
 	ltq_register_gpio_stp();
 	ltq_register_nor(&easy50712_flash_data);
-	ltq_register_wdt();
 	ltq_register_pci(&ltq_pci_data);
 	ltq_register_etop(&ltq_eth_data);
 }
-- 
1.7.2.3




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux