aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx/files/drivers/usb/dwc/otg_driver.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-03-09 18:51:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-03-09 18:51:46 +0000
commit947ebaae8cec91a8518e858a9b005cf1d7a9f1a5 (patch)
treea6d96d08faa76cb2ef37f2f678ddb2ecd561e4b0 /target/linux/cns3xxx/files/drivers/usb/dwc/otg_driver.c
parenteda3f47aeb2fe61147fb0b4e6710f589aa4c6354 (diff)
downloadmaster-187ad058-947ebaae8cec91a8518e858a9b005cf1d7a9f1a5.tar.gz
master-187ad058-947ebaae8cec91a8518e858a9b005cf1d7a9f1a5.tar.bz2
master-187ad058-947ebaae8cec91a8518e858a9b005cf1d7a9f1a5.zip
cns3xxx: add linux 3.8 support and use it by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35908 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx/files/drivers/usb/dwc/otg_driver.c')
-rw-r--r--target/linux/cns3xxx/files/drivers/usb/dwc/otg_driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/cns3xxx/files/drivers/usb/dwc/otg_driver.c b/target/linux/cns3xxx/files/drivers/usb/dwc/otg_driver.c
index 002c394797..f1fece8bf8 100644
--- a/target/linux/cns3xxx/files/drivers/usb/dwc/otg_driver.c
+++ b/target/linux/cns3xxx/files/drivers/usb/dwc/otg_driver.c
@@ -636,7 +636,7 @@ static int dwc_otg_driver_cleanup(struct platform_device *pdev)
*
* @param[in] lmdev lm_device definition
*/
-static int __devinit dwc_otg_driver_probe(struct platform_device *pdev)
+static int dwc_otg_driver_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
int retval = 0;
@@ -795,7 +795,7 @@ static int __devinit dwc_otg_driver_probe(struct platform_device *pdev)
return retval;
}
-static int __devexit dwc_otg_driver_remove(struct platform_device *pdev)
+static int dwc_otg_driver_remove(struct platform_device *pdev)
{
return dwc_otg_driver_cleanup(pdev);
}
@@ -803,7 +803,7 @@ static int __devexit dwc_otg_driver_remove(struct platform_device *pdev)
static struct platform_driver dwc_otg_platform_driver = {
.driver.name = "dwc_otg",
.probe = dwc_otg_driver_probe,
- .remove = __devexit_p(dwc_otg_driver_remove),
+ .remove = dwc_otg_driver_remove,
};
static int __init dwc_otg_init_module(void)