aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-03-14 18:42:52 +0000
committerJohn Crispin <blogic@openwrt.org>2013-03-14 18:42:52 +0000
commitf0751217dbe315cea70c2830b5cb08f594f547c8 (patch)
treee8c3dcb68dd4bcca4dbb9ef539f439c1156533b8
parent38dd5d6f4f331e0d39bedcac4b93582e3c261986 (diff)
downloadmaster-187ad058-f0751217dbe315cea70c2830b5cb08f594f547c8.tar.gz
master-187ad058-f0751217dbe315cea70c2830b5cb08f594f547c8.tar.bz2
master-187ad058-f0751217dbe315cea70c2830b5cb08f594f547c8.zip
[lantiq] make ptm drivers work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36018 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 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;