[PATCH] i2c: tps65010 build fixes
authorDavid Brownell <david-b@pacbell.net>
Fri, 11 Aug 2006 20:53:08 +0000 (22:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 26 Aug 2006 20:05:12 +0000 (13:05 -0700)
commit4801bc25f37a969ea773c24d12fd4738541848a1
tree95e9c36770d255dbf5f78515abda64ca91d0a1f3
parentf834c755423332a6ff4397fae754029a6a7a8249
[PATCH] i2c: tps65010 build fixes

The tps65010.c driver in the main tree never got updated with
build fixes since the last batch of I2C driver changes; and the
genirq trigger flags were updated wierdly too.

This also includes a minor tweak to reduce the frequency used to
poll for unplug-the-AC-power on the TPS chips that don't provide
relevant IRQs.  It _would_ be nice to sense whether there's even
a battery, but that'd normally be an HDQ/1-wire interface to a
smart battery, and such APIs aren't standardized.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/tps65010.c