> I think i solve it using
> 
> static struct i2c_board_info __initdata inv_mpu_i2c2_board_info[] = {
> {
> ...
> };
> 
> static void __init sun7i_init(void)
> {
> ...
> inv_mpu_i2c2_board_info[0].irq = __gpio_to_irq(176);
> ...
> }

Not that I want to sound nitpicky, but isn't that information that should be
in the DeviceTree?


-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to