[ARM] 4144/1: Fix for patch #4099/1 with CONFIG_I2C_PXA_SLAVE set
authorGuennadi Liakhovetski <gl@dsa-ac.de>
Thu, 8 Feb 2007 08:43:26 +0000 (09:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Feb 2007 14:46:36 +0000 (14:46 +0000)
commita7b4e5506d1608112a208bc5391377d2c0b6dd80
tree44c46c859b764cdf5cf2fb7867260c276e17cd15
parentae0a846e411dc0b568e8ccda584896310ee5f369
[ARM] 4144/1: Fix for patch #4099/1 with CONFIG_I2C_PXA_SLAVE set

Switch the i2c-pxa driver to actually using the platform device information and let it handle the power i2c bus on pxa27x too. Original version of this patch didn't compile with CONFIG_I2C_PXA_SLAVE set.

Signed-off-by: G. Liakhovetski <gl@dsa-ac.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/generic.c
drivers/i2c/busses/i2c-pxa.c