--- zzzz-none-000/linux-3.10.107/arch/arm/mach-omap1/board-osk.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/mach-omap1/board-osk.c 2021-02-04 17:41:59.000000000 +0000 @@ -191,6 +191,9 @@ static int osk_tps_setup(struct i2c_client *client, void *context) { + if (!IS_BUILTIN(CONFIG_TPS65010)) + return -ENOSYS; + /* Set GPIO 1 HIGH to disable VBUS power supply; * OHCI driver powers it up/down as needed. */ @@ -300,7 +303,7 @@ #ifdef CONFIG_OMAP_OSK_MISTRAL #include -#include +#include #include #include @@ -607,6 +610,7 @@ .map_io = omap16xx_map_io, .init_early = omap1_init_early, .init_irq = omap1_init_irq, + .handle_irq = omap1_handle_irq, .init_machine = osk_init, .init_late = omap1_init_late, .init_time = omap1_timer_init,