diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-perseus2.c')
-rw-r--r-- | arch/arm/mach-omap1/board-perseus2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/board-perseus2.c b/arch/arm/mach-omap1/board-perseus2.c index 198b05417bfc..a1cdeeb43f46 100644 --- a/arch/arm/mach-omap1/board-perseus2.c +++ b/arch/arm/mach-omap1/board-perseus2.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #include <plat/tc.h> | 31 | #include <plat/tc.h> |
32 | #include <mach/mux.h> | 32 | #include <mach/mux.h> |
33 | #include <plat/fpga.h> | 33 | #include <../plat-omap/fpga.h> |
34 | #include <mach/flash.h> | 34 | #include <mach/flash.h> |
35 | 35 | ||
36 | #include <mach/hardware.h> | 36 | #include <mach/hardware.h> |
@@ -231,9 +231,9 @@ static struct omap_lcd_config perseus2_lcd_config __initdata = { | |||
231 | 231 | ||
232 | static void __init perseus2_init_smc91x(void) | 232 | static void __init perseus2_init_smc91x(void) |
233 | { | 233 | { |
234 | fpga_write(1, H2P2_DBG_FPGA_LAN_RESET); | 234 | __raw_writeb(1, H2P2_DBG_FPGA_LAN_RESET); |
235 | mdelay(50); | 235 | mdelay(50); |
236 | fpga_write(fpga_read(H2P2_DBG_FPGA_LAN_RESET) & ~1, | 236 | __raw_writeb(__raw_readb(H2P2_DBG_FPGA_LAN_RESET) & ~1, |
237 | H2P2_DBG_FPGA_LAN_RESET); | 237 | H2P2_DBG_FPGA_LAN_RESET); |
238 | mdelay(50); | 238 | mdelay(50); |
239 | } | 239 | } |