mirror of
https://github.com/proski/madwifi
synced 2024-11-24 23:40:00 +03:00
Don't use "{ 0 }" to initialize structures, use "{ }"
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4161 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
27d3e317c5
commit
e9c7901f6e
@ -11340,7 +11340,7 @@ static const ctl_table ath_sysctl_template[] = {
|
||||
.proc_handler = ath_sysctl_halparam,
|
||||
.extra2 = (void *)ATH_INTMIT,
|
||||
},
|
||||
{ 0 }
|
||||
{ }
|
||||
};
|
||||
|
||||
static void
|
||||
@ -11535,21 +11535,21 @@ static ctl_table ath_static_sysctls[] = {
|
||||
.maxlen = sizeof(ath_xchanmode),
|
||||
.proc_handler = proc_dointvec
|
||||
},
|
||||
{ 0 }
|
||||
{ }
|
||||
};
|
||||
static ctl_table ath_ath_table[] = {
|
||||
{ ATH_INIT_CTL_NAME(DEV_ATH)
|
||||
.procname = "ath",
|
||||
.mode = 0555,
|
||||
.child = ath_static_sysctls
|
||||
}, { 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;
|
||||
|
||||
|
@ -119,7 +119,7 @@ static struct pci_device_id ath_pci_id_table[] __devinitdata = {
|
||||
#endif
|
||||
{ 0x168c, 0x002a, PCI_ANY_ID, PCI_ANY_ID }, /* AR9280 PCI Express */
|
||||
{ 0x168c, 0x9013, PCI_ANY_ID, PCI_ANY_ID }, /* sonicwall */
|
||||
{ 0 }
|
||||
{ }
|
||||
};
|
||||
|
||||
static u16 ath_devidmap[][2] = {
|
||||
|
@ -1025,28 +1025,28 @@ static ctl_table ath_hal_sysctls[] = {
|
||||
.proc_handler = proc_dointvec
|
||||
},
|
||||
#endif /* AH_DEBUG_ALQ */
|
||||
{ 0 }
|
||||
{ }
|
||||
};
|
||||
static ctl_table ath_hal_table[] = {
|
||||
{ ATH_INIT_CTL_NAME(CTL_AUTO)
|
||||
.procname = "hal",
|
||||
.mode = 0555,
|
||||
.child = ath_hal_sysctls
|
||||
}, { 0 }
|
||||
}, { }
|
||||
};
|
||||
static ctl_table ath_ath_table[] = {
|
||||
{ ATH_INIT_CTL_NAME(DEV_ATH)
|
||||
.procname = "ath",
|
||||
.mode = 0555,
|
||||
.child = ath_hal_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_hal_sysctl_header;
|
||||
|
||||
|
@ -528,28 +528,28 @@ static ctl_table ath_rate_static_sysctls[] = {
|
||||
.extra2 = &maxint,
|
||||
.proc_handler = proc_dointvec_minmax
|
||||
},
|
||||
{ 0 }
|
||||
{ }
|
||||
};
|
||||
static ctl_table ath_rate_table[] = {
|
||||
{ ATH_INIT_CTL_NAME(CTL_AUTO)
|
||||
.procname = "rate_amrr",
|
||||
.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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -937,7 +937,7 @@ static const ctl_table ieee80211_sysctl_template[] = {
|
||||
.mode = 0444,
|
||||
.proc_handler = proc_dostring
|
||||
},
|
||||
{ 0 }
|
||||
{ }
|
||||
};
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user