X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=ath_rate%2Fonoe%2Fonoe.c;h=1b61b8839ad3b9e5030053d2501d653a910d89eb;hb=2774fa543ee6d187d9f4328b2262ff584fb6be52;hp=14879d61614b31425e403f90c05a90674e8778e8;hpb=4bbde45a51a2423e23ca86fbaa8da52ee208e1c9;p=madwifi%2F.git diff --git a/ath_rate/onoe/onoe.c b/ath_rate/onoe/onoe.c index 14879d6..1b61b88 100644 --- a/ath_rate/onoe/onoe.c +++ b/ath_rate/onoe/onoe.c @@ -39,7 +39,7 @@ /* * Atsushi Onoe's rate control algorithm. */ -#ifndef AUTOCONF_INCLUDED +#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION) #include #endif #include @@ -474,28 +474,28 @@ static ctl_table ath_rate_static_sysctls[] = { .maxlen = sizeof(ath_rate_raise_threshold), .proc_handler = proc_dointvec }, - { 0 } + { } }; static ctl_table ath_rate_table[] = { { ATH_INIT_CTL_NAME(CTL_AUTO) .procname = "rate_onoe", .mode = 0555, .child = ath_rate_static_sysctls - }, { 0 } + }, { } }; static ctl_table ath_ath_table[] = { { ATH_INIT_CTL_NAME(DEV_ATH) .procname = "ath", .mode = 0555, .child = ath_rate_table - }, { 0 } + }, { } }; static ctl_table ath_root_table[] = { { ATH_INIT_CTL_NAME(CTL_DEV) .procname = "dev", .mode = 0555, .child = ath_ath_table - }, { 0 } + }, { } }; static struct ctl_table_header *ath_sysctl_header;