i2c-ibm_iic: Support building as an of_platform driver
authorSean MacLennan <smaclennan@pikatech.com>
Tue, 22 Apr 2008 20:16:47 +0000 (22:16 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 22 Apr 2008 20:16:47 +0000 (22:16 +0200)
commit838349b5c6454ebce8ec3e8c448941cf8608ffea
tree217444e5c41d5da9513d7a5881043fd758801365
parent681aae82c5804f8bbecbb495da90587d4167753c
i2c-ibm_iic: Support building as an of_platform driver

This patch allows the i2c-ibm_iic driver to be built either as an ocp
driver or an of_platform driver. This allows it to run under the powerpc
arch but maintains backward compatibility with the ppc arch.

Signed-off-by: Sean MacLennan <smaclennan@pikatech.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-ibm_iic.c