1212#include <linux/init.h>
1313#include <linux/platform_device.h>
1414#include <linux/serial_8250.h>
15- #include <linux/mbus.h>
1615#include <linux/ata_platform.h>
1716#include <linux/ethtool.h>
1817#include <asm/mach/map.h>
@@ -170,8 +169,7 @@ void __init mv78xx0_map_io(void)
170169 ****************************************************************************/
171170void __init mv78xx0_ehci0_init (void )
172171{
173- orion_ehci_init (& orion_mbus_dram_info ,
174- USB0_PHYS_BASE , IRQ_MV78XX0_USB_0 );
172+ orion_ehci_init (USB0_PHYS_BASE , IRQ_MV78XX0_USB_0 );
175173}
176174
177175
@@ -180,8 +178,7 @@ void __init mv78xx0_ehci0_init(void)
180178 ****************************************************************************/
181179void __init mv78xx0_ehci1_init (void )
182180{
183- orion_ehci_1_init (& orion_mbus_dram_info ,
184- USB1_PHYS_BASE , IRQ_MV78XX0_USB_1 );
181+ orion_ehci_1_init (USB1_PHYS_BASE , IRQ_MV78XX0_USB_1 );
185182}
186183
187184
@@ -190,8 +187,7 @@ void __init mv78xx0_ehci1_init(void)
190187 ****************************************************************************/
191188void __init mv78xx0_ehci2_init (void )
192189{
193- orion_ehci_2_init (& orion_mbus_dram_info ,
194- USB2_PHYS_BASE , IRQ_MV78XX0_USB_2 );
190+ orion_ehci_2_init (USB2_PHYS_BASE , IRQ_MV78XX0_USB_2 );
195191}
196192
197193
@@ -200,7 +196,7 @@ void __init mv78xx0_ehci2_init(void)
200196 ****************************************************************************/
201197void __init mv78xx0_ge00_init (struct mv643xx_eth_platform_data * eth_data )
202198{
203- orion_ge00_init (eth_data , & orion_mbus_dram_info ,
199+ orion_ge00_init (eth_data ,
204200 GE00_PHYS_BASE , IRQ_MV78XX0_GE00_SUM ,
205201 IRQ_MV78XX0_GE_ERR , get_tclk ());
206202}
@@ -211,7 +207,7 @@ void __init mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data)
211207 ****************************************************************************/
212208void __init mv78xx0_ge01_init (struct mv643xx_eth_platform_data * eth_data )
213209{
214- orion_ge01_init (eth_data , & orion_mbus_dram_info ,
210+ orion_ge01_init (eth_data ,
215211 GE01_PHYS_BASE , IRQ_MV78XX0_GE01_SUM ,
216212 NO_IRQ , get_tclk ());
217213}
@@ -235,7 +231,7 @@ void __init mv78xx0_ge10_init(struct mv643xx_eth_platform_data *eth_data)
235231 eth_data -> duplex = DUPLEX_FULL ;
236232 }
237233
238- orion_ge10_init (eth_data , & orion_mbus_dram_info ,
234+ orion_ge10_init (eth_data ,
239235 GE10_PHYS_BASE , IRQ_MV78XX0_GE10_SUM ,
240236 NO_IRQ , get_tclk ());
241237}
@@ -259,7 +255,7 @@ void __init mv78xx0_ge11_init(struct mv643xx_eth_platform_data *eth_data)
259255 eth_data -> duplex = DUPLEX_FULL ;
260256 }
261257
262- orion_ge11_init (eth_data , & orion_mbus_dram_info ,
258+ orion_ge11_init (eth_data ,
263259 GE11_PHYS_BASE , IRQ_MV78XX0_GE11_SUM ,
264260 NO_IRQ , get_tclk ());
265261}
@@ -278,8 +274,7 @@ void __init mv78xx0_i2c_init(void)
278274 ****************************************************************************/
279275void __init mv78xx0_sata_init (struct mv_sata_platform_data * sata_data )
280276{
281- orion_sata_init (sata_data , & orion_mbus_dram_info ,
282- SATA_PHYS_BASE , IRQ_MV78XX0_SATA );
277+ orion_sata_init (sata_data , SATA_PHYS_BASE , IRQ_MV78XX0_SATA );
283278}
284279
285280
0 commit comments