RE: [PATCH] omap: Add I2C bus 1 initialisation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +static struct i2c_board_info __initdata sdp2430_i2c1_boardinfo[] = {
> +       {
> +               I2C_BOARD_INFO("isp1301_omap", 0x2D),
> +               .flags = I2C_CLIENT_WAKE,
> +               .irq = OMAP_GPIO_IRQ(78),
> +       },
> +}

Use tabs instead of spaces. 

>  static int __init omap2430_i2c_init(void)
>  {
> -       omap_register_i2c_bus(1, 400, NULL, 0);
> +       omap_register_i2c_bus(1, 100, sdp2430_i2c1_boardinfo,
> +                       ARRAY_SIZE(sdp2430_i2c1_boardinfo));

Same here.

Maulik

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux