|
@@ -118,7 +118,7 @@ static struct spi_board_info ek_spi_devices[] = {
|
|
|
/*
|
|
|
* MACB Ethernet device
|
|
|
*/
|
|
|
-static struct __initdata at91_eth_data ek_macb_data = {
|
|
|
+static struct at91_eth_data __initdata ek_macb_data = {
|
|
|
.phy_irq_pin = AT91_PIN_PA7,
|
|
|
.is_rmii = 1,
|
|
|
};
|
|
@@ -140,7 +140,7 @@ static struct mtd_partition __initdata ek_nand_partition[] = {
|
|
|
},
|
|
|
};
|
|
|
|
|
|
-static struct mtd_partition *nand_partitions(int size, int *num_partitions)
|
|
|
+static struct mtd_partition * __init nand_partitions(int size, int *num_partitions)
|
|
|
{
|
|
|
*num_partitions = ARRAY_SIZE(ek_nand_partition);
|
|
|
return ek_nand_partition;
|