make ptm drivers work with v3.8
authorJohn Crispin <john@openwrt.org>
Thu, 14 Mar 2013 18:42:52 +0000 (18:42 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 14 Mar 2013 18:42:52 +0000 (18:42 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36018

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

index 58a581eeb289b91c1ae10be99e169d78adf6a5ae..391d56cf09dd94766ba1a411c73e83809e938bd6 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 1a5ae8a7ee42a655f99bd28ec610fab5ab5d8006..745eb03321d5f3a376c2a04034e733766526dfc5 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;