From 13c9aecbd2fa59784549dcd4f5e7edbdb8359e57 Mon Sep 17 00:00:00 2001 From: blogic Date: Thu, 14 Mar 2013 18:42:47 +0000 Subject: [lantiq] make atm driver work with v3.8 Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36017 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/platform/lantiq/ltq-atm/src/ltq_atm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/platform') diff --git a/package/platform/lantiq/ltq-atm/src/ltq_atm.c b/package/platform/lantiq/ltq-atm/src/ltq_atm.c index dcdb0a9c8..0e7e6e915 100644 --- a/package/platform/lantiq/ltq-atm/src/ltq_atm.c +++ b/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); -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; struct ltq_atm_ops *ops = NULL; @@ -1858,7 +1858,7 @@ INIT_PRIV_DATA_FAIL: return ret; } -static int __devexit ltq_atm_remove(struct platform_device *pdev) +static int ltq_atm_remove(struct platform_device *pdev) { int port_num; 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 = { .probe = ltq_atm_probe, - .remove = __devexit_p(ltq_atm_remove), + .remove = ltq_atm_remove, .driver = { .name = "atm", .owner = THIS_MODULE, -- cgit v1.2.3