projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5010c4f
)
sh: Fix up build warning for SH7785LCR proto board.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 1 Sep 2009 13:38:27 +0000
(22:38 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 1 Sep 2009 13:38:27 +0000
(22:38 +0900)
This fixes up a build warning introduced by the proto board resource
changes.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/board-sh7785lcr.c
patch
|
blob
|
history
diff --git
a/arch/sh/boards/board-sh7785lcr.c
b/arch/sh/boards/board-sh7785lcr.c
index 726427c3522bb83fe01b145707911f290c9e9ce5..e5a8a2fde39c12b61c6afe53f30a45ef47649f39 100644
(file)
--- 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);
}