Преглед на файлове

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>
Paul Mundt преди 15 години
родител
ревизия
d1af119a69
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      arch/sh/boards/board-sh7785lcr.c

+ 1 - 1
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);
 	}