]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
i2c-ibm_iic: Enable driver for all PPC4xx variants in arch/powerpc
authorStefan Roese <sr@denx.de>
Mon, 14 Jul 2008 20:38:30 +0000 (22:38 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Mon, 14 Jul 2008 20:38:30 +0000 (22:38 +0200)
Enable the IBM I2C driver for all PPC4xx variants by adding
"ibm,iic" to the compatible list. This way all currently available
arch/powerpc 4xx ports can make use of this driver without any changes.
Additionally all "other" compatible entries are removed since they are
not needed anymore.

Currently all 4xx PPC's have the same compatible I2C macro. If at some
time an incompatibility is detected we can take care of this with an
additional property.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-ibm_iic.c

index d8a19c11056461923afce4be2adce762bb965338..070f078b5f5cd7565939690619526b560d71f0d7 100644 (file)
@@ -807,11 +807,7 @@ static int __devexit iic_remove(struct of_device *ofdev)
 }
 
 static const struct of_device_id ibm_iic_match[] = {
-       { .compatible = "ibm,iic-405ex", },
-       { .compatible = "ibm,iic-405gp", },
-       { .compatible = "ibm,iic-440gp", },
-       { .compatible = "ibm,iic-440gpx", },
-       { .compatible = "ibm,iic-440grx", },
+       { .compatible = "ibm,iic", },
        {}
 };