diff options
Diffstat (limited to 'arch/arm/mach-orion/common.c')
-rw-r--r-- | arch/arm/mach-orion/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-orion/common.c b/arch/arm/mach-orion/common.c index d33c01dfc3f2..a32fe8e108bc 100644 --- a/arch/arm/mach-orion/common.c +++ b/arch/arm/mach-orion/common.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/mbus.h> | 17 | #include <linux/mbus.h> |
18 | #include <linux/mv643xx_eth.h> | 18 | #include <linux/mv643xx_eth.h> |
19 | #include <linux/mv643xx_i2c.h> | 19 | #include <linux/mv643xx_i2c.h> |
20 | #include <linux/ata_platform.h> | ||
20 | #include <asm/page.h> | 21 | #include <asm/page.h> |
21 | #include <asm/setup.h> | 22 | #include <asm/setup.h> |
22 | #include <asm/timex.h> | 23 | #include <asm/timex.h> |
@@ -289,6 +290,7 @@ static struct platform_device orion_sata = { | |||
289 | 290 | ||
290 | void __init orion_sata_init(struct mv_sata_platform_data *sata_data) | 291 | void __init orion_sata_init(struct mv_sata_platform_data *sata_data) |
291 | { | 292 | { |
293 | sata_data->dram = &orion_mbus_dram_info; | ||
292 | orion_sata.dev.platform_data = sata_data; | 294 | orion_sata.dev.platform_data = sata_data; |
293 | platform_device_register(&orion_sata); | 295 | platform_device_register(&orion_sata); |
294 | } | 296 | } |
@@ -342,8 +344,6 @@ void __init orion_init(void) | |||
342 | */ | 344 | */ |
343 | orion_setup_cpu_wins(); | 345 | orion_setup_cpu_wins(); |
344 | orion_setup_eth_wins(); | 346 | orion_setup_eth_wins(); |
345 | if (dev == MV88F5182_DEV_ID) | ||
346 | orion_setup_sata_wins(); | ||
347 | 347 | ||
348 | /* | 348 | /* |
349 | * REgister devices | 349 | * REgister devices |