summaryrefslogtreecommitdiff
path: root/package/platform/lantiq/ltq-ptm
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-03-14 18:42:52 +0000
committerJohn Crispin <john@openwrt.org>2013-03-14 18:42:52 +0000
commitd0fe00d8b2d6297759984435f00027de41a12c57 (patch)
tree2310fd7e49631bbe022fafcef4a3262450678a43 /package/platform/lantiq/ltq-ptm
parentd87598e8ae7540240b59f09fd9988101702c46cf (diff)
downloadmtk-20170518-d0fe00d8b2d6297759984435f00027de41a12c57.zip
mtk-20170518-d0fe00d8b2d6297759984435f00027de41a12c57.tar.gz
mtk-20170518-d0fe00d8b2d6297759984435f00027de41a12c57.tar.bz2
make ptm drivers work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36018
Diffstat (limited to 'package/platform/lantiq/ltq-ptm')
-rw-r--r--package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c2
-rw-r--r--package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c2
2 files changed, 2 insertions, 2 deletions
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 58a581e..391d56c 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 1a5ae8a..745eb03 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;