i2c-pnx: Fix interrupt handler, get rid of EARLY config option
authorVitaly Wool <vitalywool@gmail.com>
Thu, 4 Jan 2007 12:07:03 +0000 (13:07 +0100)
committerJean Delvare <khali@arrakis.delvare>
Thu, 4 Jan 2007 12:07:03 +0000 (13:07 +0100)
commit6c566fb7b3cda741dd6ed60c7d6aae0e17c9c8fe
tree87e7c5983c32e1c69c5e447004f3370a329acc37
parenta7ec3f5289681e9d63b65db5f56857f998812b4b
i2c-pnx: Fix interrupt handler, get rid of EARLY config option

This fixes two issues raised by David Brownell on the i2c list:

<< Someone needs to update i2c-pnx.c to handle the IRQ handler doesn't
expect pt_regs (gone now for a while), and so it doesn't try to
reference "mudule_init()" if I2C isn't initialized "early".  For
that matter, to get rid of that _option_ to initialize then, and
always init that driver with subsystem_init() ... it's common with
embedded systems to need I2C access to tweak a GPIO expander or
do some other work when bringing up drivers, that's not specific
to USB stacks. >>

Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-pnx.c