[lantiq] make ptm drivers work with v3.8
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 14 Mar 2013 18:42:52 +0000 (18:42 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 14 Mar 2013 18:42:52 +0000 (18:42 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36018 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c

index 58a581e..391d56c 100644 (file)
@@ -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};
index 1a5ae8a..745eb03 100644 (file)
@@ -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;