]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: omap1: don't rely on tps65010
authorArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 12:33:03 +0000 (13:33 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:23:34 +0000 (18:23 +0100)
commit0b31c53b13343a86bf579aaa7658e8d3ba95b946
treec9502a5d6f4f7d48f0444c6772f78cd84657ad1f
parent84bef11710d14990f8c1213058c17d85b2ec432b
ARM: omap1: don't rely on tps65010

The code for h2 and osk implicitly assumes that the tps65010
driver is built-in, in order to perform the initial regulator
setup.

This is fine for most real uses, but it does get into the way
of build testing with 'make randconfig', since we don't want
platforms to implicitly select device drivers and subsystems
such as I2C.

This patch by contrast changes the board files to not call
into the tps65010 driver when that is not built-in, allowing
us to build all configurations including some that will not
work properly on this hardware.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-osk.c