aboutsummaryrefslogtreecommitdiffstats
path: root/package/platform/lantiq/ltq-atm
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-03-14 18:42:47 +0000
committerJohn Crispin <john@openwrt.org>2013-03-14 18:42:47 +0000
commitd87598e8ae7540240b59f09fd9988101702c46cf (patch)
tree95f4563ba82aecd9e0d31c0ee9961ebb2dfc1ef3 /package/platform/lantiq/ltq-atm
parent7db53fc00f4aa8e65c9f5e58e14861aa534b8a4f (diff)
downloadupstream-d87598e8ae7540240b59f09fd9988101702c46cf.tar.gz
upstream-d87598e8ae7540240b59f09fd9988101702c46cf.tar.bz2
upstream-d87598e8ae7540240b59f09fd9988101702c46cf.zip
make atm driver work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36017
Diffstat (limited to 'package/platform/lantiq/ltq-atm')
-rw-r--r--package/platform/lantiq/ltq-atm/src/ltq_atm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/platform/lantiq/ltq-atm/src/ltq_atm.c b/package/platform/lantiq/ltq-atm/src/ltq_atm.c
index dcdb0a9c87..0e7e6e915f 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,