]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
twl4030-core: portability updates
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 30 Sep 2008 18:43:05 +0000 (21:43 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 1 Oct 2008 10:37:39 +0000 (13:37 +0300)
commita71e06733aacf3dc759e9ffe400503bbedbcd9e1
treec48b6d80351f0e4fbfa753fe76c87ec685687c13
parentfc902fc122927cda31a87edb073a2ac266f60a10
twl4030-core: portability updates

Improve handling of the OMAP-specific setup in twl4030-core,
and remove various warnings on non-OMAP builds.

The main remaining portability problem for this core code (from
a build perspective) is needing symbols like TWL4030_PWR_IRQ_BASE
which are undesirable and platform-specific.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/twl4030-core.c