فهرست منبع

make atm driver work with v3.8

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 36017
John Crispin 13 سال پیش
والد
کامیت
d87598e8ae
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      package/platform/lantiq/ltq-atm/src/ltq_atm.c

+ 3 - 3
package/platform/lantiq/ltq-atm/src/ltq_atm.c

@@ -1759,7 +1759,7 @@ static const struct of_device_id ltq_atm_match[] = {
 };
 };
 MODULE_DEVICE_TABLE(of, ltq_atm_match);
 MODULE_DEVICE_TABLE(of, ltq_atm_match);
 
 
-static int __devinit ltq_atm_probe(struct platform_device *pdev)
+static int ltq_atm_probe(struct platform_device *pdev)
 {
 {
 	const struct of_device_id *match;
 	const struct of_device_id *match;
 	struct ltq_atm_ops *ops = NULL;
 	struct ltq_atm_ops *ops = NULL;
@@ -1858,7 +1858,7 @@ INIT_PRIV_DATA_FAIL:
 	return ret;
 	return ret;
 }
 }
 
 
-static int __devexit ltq_atm_remove(struct platform_device *pdev)
+static int ltq_atm_remove(struct platform_device *pdev)
 {
 {
 	int port_num;
 	int port_num;
 	struct ltq_atm_ops *ops = platform_get_drvdata(pdev);
 	struct ltq_atm_ops *ops = platform_get_drvdata(pdev);
@@ -1884,7 +1884,7 @@ static int __devexit ltq_atm_remove(struct platform_device *pdev)
 
 
 static struct platform_driver ltq_atm_driver = {
 static struct platform_driver ltq_atm_driver = {
 	.probe = ltq_atm_probe,
 	.probe = ltq_atm_probe,
-	.remove = __devexit_p(ltq_atm_remove),
+	.remove = ltq_atm_remove,
 	.driver = {
 	.driver = {
 		.name = "atm",
 		.name = "atm",
 		.owner = THIS_MODULE,
 		.owner = THIS_MODULE,