summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-08-22 17:55:08 +0200
committerSimon Horman <horms+renesas@verge.net.au>2013-09-30 09:34:07 +0200
commit37bf8103c51a1508d6323de19a7ae1c13c3ed3f5 (patch)
tree226f6ba0afff6e8698277ffe642f1910ff767735 /arch/arm/mach-shmobile
parentARM: shmobile: ape6evm: update MMC0, SDHI0 and SDHI1 with correct regulators (diff)
downloadlinux-37bf8103c51a1508d6323de19a7ae1c13c3ed3f5.tar.xz
linux-37bf8103c51a1508d6323de19a7ae1c13c3ed3f5.zip
ARM: shmobile: lager: Fix Display Unit platform data
The DU device erroneously receives the DU resources array as platform data instead of the DU platform data structure. Fix it. This problem was introduced by f631fa0 ("ARM: shmobile: lager: Add Display Unit support"). Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/board-lager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c
index caec99e332ef..9fbbf23244a8 100644
--- a/arch/arm/mach-shmobile/board-lager.c
+++ b/arch/arm/mach-shmobile/board-lager.c
@@ -87,8 +87,8 @@ static void __init lager_add_du_device(void)
.id = -1,
.res = du_resources,
.num_res = ARRAY_SIZE(du_resources),
- .data = &du_resources,
- .size_data = sizeof(du_resources),
+ .data = &lager_du_pdata,
+ .size_data = sizeof(lager_du_pdata),
.dma_mask = DMA_BIT_MASK(32),
};