Commit 7a700faf authored by viro@ZenIV.linux.org.uk's avatar viro@ZenIV.linux.org.uk Committed by Jeff Garzik

[PATCH] C99 initializers in ray_cs.c

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 387d890d
......@@ -1649,28 +1649,28 @@ static iw_stats * ray_get_wireless_stats(struct net_device * dev)
*/
static const iw_handler ray_handler[] = {
[SIOCSIWCOMMIT-SIOCIWFIRST] (iw_handler) ray_commit,
[SIOCGIWNAME -SIOCIWFIRST] (iw_handler) ray_get_name,
[SIOCSIWFREQ -SIOCIWFIRST] (iw_handler) ray_set_freq,
[SIOCGIWFREQ -SIOCIWFIRST] (iw_handler) ray_get_freq,
[SIOCSIWMODE -SIOCIWFIRST] (iw_handler) ray_set_mode,
[SIOCGIWMODE -SIOCIWFIRST] (iw_handler) ray_get_mode,
[SIOCGIWRANGE -SIOCIWFIRST] (iw_handler) ray_get_range,
[SIOCSIWCOMMIT-SIOCIWFIRST] = (iw_handler) ray_commit,
[SIOCGIWNAME -SIOCIWFIRST] = (iw_handler) ray_get_name,
[SIOCSIWFREQ -SIOCIWFIRST] = (iw_handler) ray_set_freq,
[SIOCGIWFREQ -SIOCIWFIRST] = (iw_handler) ray_get_freq,
[SIOCSIWMODE -SIOCIWFIRST] = (iw_handler) ray_set_mode,
[SIOCGIWMODE -SIOCIWFIRST] = (iw_handler) ray_get_mode,
[SIOCGIWRANGE -SIOCIWFIRST] = (iw_handler) ray_get_range,
#ifdef WIRELESS_SPY
[SIOCSIWSPY -SIOCIWFIRST] (iw_handler) iw_handler_set_spy,
[SIOCGIWSPY -SIOCIWFIRST] (iw_handler) iw_handler_get_spy,
[SIOCSIWTHRSPY-SIOCIWFIRST] (iw_handler) iw_handler_set_thrspy,
[SIOCGIWTHRSPY-SIOCIWFIRST] (iw_handler) iw_handler_get_thrspy,
[SIOCSIWSPY -SIOCIWFIRST] = (iw_handler) iw_handler_set_spy,
[SIOCGIWSPY -SIOCIWFIRST] = (iw_handler) iw_handler_get_spy,
[SIOCSIWTHRSPY-SIOCIWFIRST] = (iw_handler) iw_handler_set_thrspy,
[SIOCGIWTHRSPY-SIOCIWFIRST] = (iw_handler) iw_handler_get_thrspy,
#endif /* WIRELESS_SPY */
[SIOCGIWAP -SIOCIWFIRST] (iw_handler) ray_get_wap,
[SIOCSIWESSID -SIOCIWFIRST] (iw_handler) ray_set_essid,
[SIOCGIWESSID -SIOCIWFIRST] (iw_handler) ray_get_essid,
[SIOCSIWRATE -SIOCIWFIRST] (iw_handler) ray_set_rate,
[SIOCGIWRATE -SIOCIWFIRST] (iw_handler) ray_get_rate,
[SIOCSIWRTS -SIOCIWFIRST] (iw_handler) ray_set_rts,
[SIOCGIWRTS -SIOCIWFIRST] (iw_handler) ray_get_rts,
[SIOCSIWFRAG -SIOCIWFIRST] (iw_handler) ray_set_frag,
[SIOCGIWFRAG -SIOCIWFIRST] (iw_handler) ray_get_frag,
[SIOCGIWAP -SIOCIWFIRST] = (iw_handler) ray_get_wap,
[SIOCSIWESSID -SIOCIWFIRST] = (iw_handler) ray_set_essid,
[SIOCGIWESSID -SIOCIWFIRST] = (iw_handler) ray_get_essid,
[SIOCSIWRATE -SIOCIWFIRST] = (iw_handler) ray_set_rate,
[SIOCGIWRATE -SIOCIWFIRST] = (iw_handler) ray_get_rate,
[SIOCSIWRTS -SIOCIWFIRST] = (iw_handler) ray_set_rts,
[SIOCGIWRTS -SIOCIWFIRST] = (iw_handler) ray_get_rts,
[SIOCSIWFRAG -SIOCIWFIRST] = (iw_handler) ray_set_frag,
[SIOCGIWFRAG -SIOCIWFIRST] = (iw_handler) ray_get_frag,
};
#define SIOCSIPFRAMING SIOCIWFIRSTPRIV /* Set framing mode */
......@@ -1678,9 +1678,9 @@ static const iw_handler ray_handler[] = {
#define SIOCGIPCOUNTRY SIOCIWFIRSTPRIV + 3 /* Get country code */
static const iw_handler ray_private_handler[] = {
[0] (iw_handler) ray_set_framing,
[1] (iw_handler) ray_get_framing,
[3] (iw_handler) ray_get_country,
[0] = (iw_handler) ray_set_framing,
[1] = (iw_handler) ray_get_framing,
[3] = (iw_handler) ray_get_country,
};
static const struct iw_priv_args ray_private_args[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment