From: John Crispin Date: Thu, 14 Mar 2013 18:42:52 +0000 (+0000) Subject: [lantiq] make ptm drivers work with v3.8 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=61e20fe6346ca812d7fd759002135fa795b01c35;p=openwrt%2Fsvn-archive%2Farchive.git [lantiq] make ptm drivers work with v3.8 Signed-off-by: John Crispin SVN-Revision: 36018 --- diff --git a/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c b/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c index 58a581eeb2..391d56cf09 100644 --- a/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c +++ b/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c @@ -1422,7 +1422,7 @@ static int ptm_showtime_exit(void) * 0 --- successful * else --- failure, usually it is negative value of error code */ -static int __devinit ifx_ptm_init(void) +static int ifx_ptm_init(void) { int ret; struct port_cell_info port_cell = {0}; diff --git a/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c b/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c index 1a5ae8a7ee..745eb03321 100644 --- a/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c +++ b/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c @@ -930,7 +930,7 @@ static int ptm_showtime_exit(void) -static int __devinit ifx_ptm_init(void) +static int ifx_ptm_init(void) { int ret; int i;