ret = platform_add_devices(mv643xx_eth_pd_devs, ARRAY_SIZE(mv643xx_eth_pd_devs));
ret = platform_add_devices(mv643xx_eth_pd_devs, ARRAY_SIZE(mv643xx_eth_pd_devs));  if ( Enable_SRAM() < 0) { eth0_pd.tx_sram_addr = 0; eth0_pd.tx_sram_size = 0; eth0_pd.rx_sram_addr = 0; eth0_pd.rx_sram_size = 0;  eth1_pd.tx_sram_addr = 0; eth1_pd.tx_sram_size = 0; eth1_pd.rx_sram_addr = 0; eth1_pd.rx_sram_size = 0;  #ifdef BE_VERBOSE printk("Pegasos II/Marvell MV64361: Can't enable the " "SRAM\n"); #endif }
mv643xx_eth_add_pds(void){	int ret = 0;	static struct pci_device_id pci_marvell_mv64360[] = {		{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, PCI_DEVICE_ID_MARVELL_MV64360) },		{ }	};	if (pci_dev_present(pci_marvell_mv64360)) {		ret = platform_add_devices(mv643xx_eth_pd_devs, ARRAY_SIZE(mv643xx_eth_pd_devs));	}	return ret;}