summaryrefslogtreecommitdiff
path: root/accel-pppd/extra/shaper_tbf.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/extra/shaper_tbf.c')
-rw-r--r--accel-pppd/extra/shaper_tbf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/extra/shaper_tbf.c b/accel-pppd/extra/shaper_tbf.c
index c276869f..997b0e9f 100644
--- a/accel-pppd/extra/shaper_tbf.c
+++ b/accel-pppd/extra/shaper_tbf.c
@@ -1256,7 +1256,7 @@ static int clock_init(void)
return 0;
}
-static void __init init(void)
+static void init(void)
{
if (clock_init())
return;
@@ -1281,3 +1281,4 @@ static void __init init(void)
cli_show_ses_register("rate-limit", "rate limit down-stream/up-stream (Kbit)", print_rate);
}
+DEFINE_INIT(100, init);