aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2017-08-16 20:56:27 +0200
committerDaniel Golle <daniel@makrotopia.org>2017-08-29 02:20:45 +0200
commit289d190f666efc2ac1af36eb4980f3a586b044d4 (patch)
treeeabe64add7ede3af4a2595b461c86b387e4d0d81 /package/kernel
parent4b3ffecf2bbbfb8df618314e5bec52659b648fac (diff)
downloadupstream-289d190f666efc2ac1af36eb4980f3a586b044d4.tar.gz
upstream-289d190f666efc2ac1af36eb4980f3a586b044d4.tar.bz2
upstream-289d190f666efc2ac1af36eb4980f3a586b044d4.zip
lantiq: ltq-ptm: fix ADSL showtime handler
commit 2d6c7c2526b6 introduced a reference to g_xdata_addr which isn't defined in that context. Use xdata_addr here instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
index 4ce2e90ccd..b3803f90e6 100644
--- a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
+++ b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
@@ -1519,7 +1519,7 @@ static int ifx_ptm_init(void)
port_cell.port_num = 1;
ifx_mei_atm_showtime_check(&g_showtime, &port_cell, &xdata_addr);
if ( g_showtime ) {
- ptm_showtime_enter(&port_cell, &g_xdata_addr);
+ ptm_showtime_enter(&port_cell, &xdata_addr);
}
ifx_mei_atm_showtime_enter = ptm_showtime_enter;