| From f177e751768acb7246592c036ea103374631893c Mon Sep 17 00:00:00 2001 |
| From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Date: Thu, 22 Aug 2013 17:55:08 +0200 |
| Subject: 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> |
| (cherry picked from commit 37bf8103c51a1508d6323de19a7ae1c13c3ed3f5) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/mach-shmobile/board-lager.c | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c |
| index 6a0458901010..1caeefa9d114 100644 |
| --- a/arch/arm/mach-shmobile/board-lager.c |
| +++ b/arch/arm/mach-shmobile/board-lager.c |
| @@ -88,8 +88,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), |
| }; |
| |
| -- |
| 1.8.5.rc3 |
| |