]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mfd/omap-usb-tll.c
Merge tag 'cris-for-linus-3.8' of git://jni.nu/cris
[karo-tx-linux.git] / drivers / mfd / omap-usb-tll.c
index 4b7757b8430195dbb8683cab2e21b3d3ca51b738..eb869153206d27f3d58a45d177f19a1076b3a1dd 100644 (file)
@@ -25,8 +25,8 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/err.h>
-#include <plat/usb.h>
 #include <linux/pm_runtime.h>
+#include <linux/platform_data/usb-omap.h>
 
 #define USBTLL_DRIVER_NAME     "usbhs_tll"
 
@@ -200,7 +200,7 @@ static unsigned ohci_omap3_fslsmode(enum usbhs_omap_port_mode mode)
  *
  * Allocates basic resources for this USB host controller.
  */
-static int __devinit usbtll_omap_probe(struct platform_device *pdev)
+static int usbtll_omap_probe(struct platform_device *pdev)
 {
        struct device                           *dev =  &pdev->dev;
        struct usbtll_omap_platform_data        *pdata = dev->platform_data;
@@ -348,7 +348,7 @@ end:
  *
  * Reverses the effect of usbtll_omap_probe().
  */
-static int __devexit usbtll_omap_remove(struct platform_device *pdev)
+static int usbtll_omap_remove(struct platform_device *pdev)
 {
        struct usbtll_omap *tll = platform_get_drvdata(pdev);
 
@@ -424,7 +424,7 @@ static struct platform_driver usbtll_omap_driver = {
                .pm             = &usbtllomap_dev_pm_ops,
        },
        .probe          = usbtll_omap_probe,
-       .remove         = __devexit_p(usbtll_omap_remove),
+       .remove         = usbtll_omap_remove,
 };
 
 int omap_tll_enable(void)