aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-11-15 17:06:40 +0100
committerArnd Bergmann <arnd@arndb.de>2012-11-15 17:06:40 +0100
commit809a3226ad7cf0807f79ddc31ed2094dbb9911fd (patch)
tree7f16a2ee50e02d58d3f2f1b057153ed58a4eeffb /arch/arm/plat-omap
parentMerge branch 'omap/headers4' into next/cleanup (diff)
parentARM: OMAP2+: remove duplicated include from board-overo.c (diff)
downloadlinux-dev-809a3226ad7cf0807f79ddc31ed2094dbb9911fd.tar.xz
linux-dev-809a3226ad7cf0807f79ddc31ed2094dbb9911fd.zip
Merge tag 'omap-for-v3.8/cleanup-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup
From: Tony Lindgren <tony@atomide.com>: Minor fixes to the clean-up done for ARM common multi-platform support for omaps. * tag 'omap-for-v3.8/cleanup-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: OMAP2+: remove duplicated include from board-overo.c ARM: OMAP: debug-leds: Use resource_size instead of hard coded macro Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/debug-leds.c2
1 files changed, 1 insertions, 1 deletions
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)
if (!iomem)
return -ENODEV;
- fpga = ioremap(iomem->start, H2P2_DBG_FPGA_SIZE);
+ fpga = ioremap(iomem->start, resource_size(iomem));
__raw_writew(0xff, &fpga->leds);
for (i = 0; i < ARRAY_SIZE(dbg_leds); i++) {