From 95f14d052a7439c60e35a6d910d6bd3de023907c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 9 Mar 2013 18:51:46 +0000 Subject: cns3xxx: add linux 3.8 support and use it by default SVN-Revision: 35908 --- target/linux/cns3xxx/files/drivers/usb/dwc/otg_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/cns3xxx/files/drivers/usb/dwc/otg_driver.c') 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) -- cgit v1.2.3