Signed-off-by: Tony Lindgren <tony@atomide.com>
static void __init omap3_beagle_init(void)
{
omap3_beagle_i2c_init();
static void __init omap3_beagle_init(void)
{
omap3_beagle_i2c_init();
- platform_add_devices(omap3_beagle_devices, ARRAY_SIZE(omap3_beagle_devices));
+ platform_add_devices(omap3_beagle_devices,
+ ARRAY_SIZE(omap3_beagle_devices));
omap_board_config = omap3_beagle_config;
omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
omap_serial_init();
omap_board_config = omap3_beagle_config;
omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
omap_serial_init();
udelay(10);
gpio_set_value(OVERO_GPIO_W2W_NRESET, 1);
} else {
udelay(10);
gpio_set_value(OVERO_GPIO_W2W_NRESET, 1);
} else {
- printk(KERN_ERR "could not obtain gpio for OVERO_GPIO_W2W_NRESET\n");
+ printk(KERN_ERR "could not obtain gpio for "
+ "OVERO_GPIO_W2W_NRESET\n");
}
if ((gpio_request(OVERO_GPIO_BT_NRESET, "OVERO_GPIO_BT_NRESET") == 0) &&
}
if ((gpio_request(OVERO_GPIO_BT_NRESET, "OVERO_GPIO_BT_NRESET") == 0) &&
mdelay(6);
gpio_set_value(OVERO_GPIO_BT_NRESET, 1);
} else {
mdelay(6);
gpio_set_value(OVERO_GPIO_BT_NRESET, 1);
} else {
- printk(KERN_ERR "could not obtain gpio for OVERO_GPIO_BT_NRESET\n");
+ printk(KERN_ERR "could not obtain gpio for "
+ "OVERO_GPIO_BT_NRESET\n");
}
if ((gpio_request(OVERO_GPIO_USBH_CPEN, "OVERO_GPIO_USBH_CPEN") == 0) &&
(gpio_direction_output(OVERO_GPIO_USBH_CPEN, 1) == 0))
gpio_export(OVERO_GPIO_USBH_CPEN, 0);
else
}
if ((gpio_request(OVERO_GPIO_USBH_CPEN, "OVERO_GPIO_USBH_CPEN") == 0) &&
(gpio_direction_output(OVERO_GPIO_USBH_CPEN, 1) == 0))
gpio_export(OVERO_GPIO_USBH_CPEN, 0);
else
- printk(KERN_ERR "could not obtain gpio for OVERO_GPIO_USBH_CPEN\n");
+ printk(KERN_ERR "could not obtain gpio for "
+ "OVERO_GPIO_USBH_CPEN\n");
if ((gpio_request(OVERO_GPIO_USBH_NRESET,
"OVERO_GPIO_USBH_NRESET") == 0) &&
(gpio_direction_output(OVERO_GPIO_USBH_NRESET, 1) == 0))
gpio_export(OVERO_GPIO_USBH_NRESET, 0);
else
if ((gpio_request(OVERO_GPIO_USBH_NRESET,
"OVERO_GPIO_USBH_NRESET") == 0) &&
(gpio_direction_output(OVERO_GPIO_USBH_NRESET, 1) == 0))
gpio_export(OVERO_GPIO_USBH_NRESET, 0);
else
- printk(KERN_ERR "could not obtain gpio for OVERO_GPIO_USBH_NRESET\n");
+ printk(KERN_ERR "could not obtain gpio for "
+ "OVERO_GPIO_USBH_NRESET\n");
}
static void __init overo_map_io(void)
}
static void __init overo_map_io(void)
#include <linux/interrupt.h>
#include <mach/hardware.h>
#include <asm/mach/irq.h>
#include <linux/interrupt.h>
#include <mach/hardware.h>
#include <asm/mach/irq.h>
#include <linux/io.h>
/* selected INTC register offsets */
#include <linux/io.h>
/* selected INTC register offsets */
static void omap_init_kp(void)
{
static void omap_init_kp(void)
{
- /* REVISIT: 2430 keypad is on TWL4030 */
+ /* 2430 and 34xx keypad is on TWL4030 */
if (cpu_is_omap2430() || cpu_is_omap34xx())
return;
if (cpu_is_omap2430() || cpu_is_omap34xx())
return;