summaryrefslogtreecommitdiff
path: root/package/platform
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-03-14 18:42:38 +0000
committerJohn Crispin <john@openwrt.org>2013-03-14 18:42:38 +0000
commit511a25b734005b8f834ac850bc0100f22bc3cbab (patch)
tree5ee24ad3af68829f7d803ea80f399235f6f469f6 /package/platform
parentb98ae2b149e8eef38d3285d8e1b21af32ac1f2dc (diff)
downloadmtk-20170518-511a25b734005b8f834ac850bc0100f22bc3cbab.zip
mtk-20170518-511a25b734005b8f834ac850bc0100f22bc3cbab.tar.gz
mtk-20170518-511a25b734005b8f834ac850bc0100f22bc3cbab.tar.bz2
make adsl mei driver work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36015
Diffstat (limited to 'package/platform')
-rw-r--r--package/platform/lantiq/ltq-adsl-mei/src/lantiq_mei.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/platform/lantiq/ltq-adsl-mei/src/lantiq_mei.c b/package/platform/lantiq/ltq-adsl-mei/src/lantiq_mei.c
index f9d54d2..443b9d9 100644
--- a/package/platform/lantiq/ltq-adsl-mei/src/lantiq_mei.c
+++ b/package/platform/lantiq/ltq-adsl-mei/src/lantiq_mei.c
@@ -2717,7 +2717,7 @@ EXPORT_SYMBOL(ifx_mei_atm_showtime_check);
/*
* Writing function for linux proc filesystem
*/
-static int __devinit ltq_mei_probe(struct platform_device *pdev)
+static int ltq_mei_probe(struct platform_device *pdev)
{
int i = 0;
static struct class *dsl_class;
@@ -2743,7 +2743,7 @@ static int __devinit ltq_mei_probe(struct platform_device *pdev)
return 0;
}
-static int __devexit ltq_mei_remove(struct platform_device *pdev)
+static int ltq_mei_remove(struct platform_device *pdev)
{
int i = 0;
int num;
@@ -2767,7 +2767,7 @@ static const struct of_device_id ltq_mei_match[] = {
static struct platform_driver ltq_mei_driver = {
.probe = ltq_mei_probe,
- .remove = __devexit_p(ltq_mei_remove),
+ .remove = ltq_mei_remove,
.driver = {
.name = "lantiq,mei-xway",
.owner = THIS_MODULE,