board-sh7785lcr.c (b74b953b998bcc2db91b694446f3a2619ec32de6) board-sh7785lcr.c (95d210ce6b23ec8916f97ec0cc7eb4d5fa80e0b3)
1/*
2 * Renesas Technology Corp. R0P7785LC0011RL Support.
3 *
4 * Copyright (C) 2008 Yoshihiro Shimoda
5 * Copyright (C) 2009 Paul Mundt
6 *
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive

--- 270 unchanged lines hidden (view full) ---

279 if (mach_is_sh7785lcr_pt()) {
280 i2c_device.resource = i2c_proto_resources;
281 i2c_device.num_resources = ARRAY_SIZE(i2c_proto_resources);
282 }
283
284 return platform_add_devices(sh7785lcr_devices,
285 ARRAY_SIZE(sh7785lcr_devices));
286}
1/*
2 * Renesas Technology Corp. R0P7785LC0011RL Support.
3 *
4 * Copyright (C) 2008 Yoshihiro Shimoda
5 * Copyright (C) 2009 Paul Mundt
6 *
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive

--- 270 unchanged lines hidden (view full) ---

279 if (mach_is_sh7785lcr_pt()) {
280 i2c_device.resource = i2c_proto_resources;
281 i2c_device.num_resources = ARRAY_SIZE(i2c_proto_resources);
282 }
283
284 return platform_add_devices(sh7785lcr_devices,
285 ARRAY_SIZE(sh7785lcr_devices));
286}
287__initcall(sh7785lcr_devices_setup);
287device_initcall(sh7785lcr_devices_setup);
288
289/* Initialize IRQ setting */
290void __init init_sh7785lcr_IRQ(void)
291{
292 plat_irq_setup_pins(IRQ_MODE_IRQ7654);
293 plat_irq_setup_pins(IRQ_MODE_IRQ3210);
294}
295

--- 81 unchanged lines hidden ---
288
289/* Initialize IRQ setting */
290void __init init_sh7785lcr_IRQ(void)
291{
292 plat_irq_setup_pins(IRQ_MODE_IRQ7654);
293 plat_irq_setup_pins(IRQ_MODE_IRQ3210);
294}
295

--- 81 unchanged lines hidden ---