]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/spi/mpc52xx_psc_spi.c
powerpc/mpc52xx_psc_spi: use linux/of_platform.h instead of asm
[linux-2.6-omap-h63xx.git] / drivers / spi / mpc52xx_psc_spi.c
index a86315a0c5b8e93c90c70edac02fd6734cf62bbb..604e5f0a2d951d5ae347a380733c342848198792 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * MPC52xx SPC in SPI mode driver.
+ * MPC52xx PSC in SPI mode driver.
  *
  * Maintainer: Dragos Carp
  *
@@ -17,7 +17,7 @@
 #include <linux/interrupt.h>
 
 #if defined(CONFIG_PPC_MERGE)
-#include <asm/of_platform.h>
+#include <linux/of_platform.h>
 #else
 #include <linux/platform_device.h>
 #endif
@@ -500,6 +500,9 @@ static int __exit mpc52xx_psc_spi_remove(struct platform_device *dev)
        return mpc52xx_psc_spi_do_remove(&dev->dev);
 }
 
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:mpc52xx-psc-spi");
+
 static struct platform_driver mpc52xx_psc_spi_platform_driver = {
        .remove = __exit_p(mpc52xx_psc_spi_remove),
        .driver = {