aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-09-01 22:38:27 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-09-01 22:38:27 +0900
commitd1af119a69fc9a625bd57a66d9c9fa88795b082c (patch)
tree69d8faa2500de4f94b91c73aa715919e973ac7e2 /arch/sh
parentsh: disable trapped I/O on SH7785LCR. (diff)
downloadlinux-dev-d1af119a69fc9a625bd57a66d9c9fa88795b082c.tar.xz
linux-dev-d1af119a69fc9a625bd57a66d9c9fa88795b082c.zip
sh: Fix up build warning for SH7785LCR proto board.
This fixes up a build warning introduced by the proto board resource changes. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boards/board-sh7785lcr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/board-sh7785lcr.c b/arch/sh/boards/board-sh7785lcr.c
index 726427c3522b..e5a8a2fde39c 100644
--- a/arch/sh/boards/board-sh7785lcr.c
+++ b/arch/sh/boards/board-sh7785lcr.c
@@ -285,7 +285,7 @@ static int __init sh7785lcr_devices_setup(void)
ARRAY_SIZE(sh7785lcr_i2c_devices));
if (mach_is_sh7785lcr_pt()) {
- i2c_device.resource = &i2c_proto_resources;
+ i2c_device.resource = i2c_proto_resources;
i2c_device.num_resources = ARRAY_SIZE(i2c_proto_resources);
}