diff options
| -rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 1 | ||||
| -rw-r--r-- | arch/arm/plat-omap/debug-leds.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 1cfb0374f5e2..f5ba43fa0400 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
| @@ -45,7 +45,6 @@ | |||
| 45 | #include <asm/mach/flash.h> | 45 | #include <asm/mach/flash.h> |
| 46 | #include <asm/mach/map.h> | 46 | #include <asm/mach/map.h> |
| 47 | 47 | ||
| 48 | #include "common.h" | ||
| 49 | #include <video/omapdss.h> | 48 | #include <video/omapdss.h> |
| 50 | #include <video/omap-panel-generic-dpi.h> | 49 | #include <video/omap-panel-generic-dpi.h> |
| 51 | #include <video/omap-panel-tfp410.h> | 50 | #include <video/omap-panel-tfp410.h> |
diff --git a/arch/arm/plat-omap/debug-leds.c b/arch/arm/plat-omap/debug-leds.c index c43ea21f33b4..aa7ebc6bcd65 100644 --- a/arch/arm/plat-omap/debug-leds.c +++ b/arch/arm/plat-omap/debug-leds.c | |||
| @@ -111,7 +111,7 @@ static int fpga_probe(struct platform_device *pdev) | |||
| 111 | if (!iomem) | 111 | if (!iomem) |
| 112 | return -ENODEV; | 112 | return -ENODEV; |
| 113 | 113 | ||
| 114 | fpga = ioremap(iomem->start, H2P2_DBG_FPGA_SIZE); | 114 | fpga = ioremap(iomem->start, resource_size(iomem)); |
| 115 | __raw_writew(0xff, &fpga->leds); | 115 | __raw_writew(0xff, &fpga->leds); |
| 116 | 116 | ||
| 117 | for (i = 0; i < ARRAY_SIZE(dbg_leds); i++) { | 117 | for (i = 0; i < ARRAY_SIZE(dbg_leds); i++) { |
