Skip to content

Commit 7a700fa

Browse files
viro@ZenIV.linux.org.ukjgarzik
authored andcommitted
[PATCH] C99 initializers in ray_cs.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
1 parent 387d890 commit 7a700fa

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

‎drivers/net/wireless/ray_cs.c‎

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,38 +1649,38 @@ static iw_stats * ray_get_wireless_stats(struct net_device * dev)
16491649
*/
16501650

16511651
static const iw_handler ray_handler[] = {
1652-
[SIOCSIWCOMMIT-SIOCIWFIRST] (iw_handler) ray_commit,
1653-
[SIOCGIWNAME -SIOCIWFIRST] (iw_handler) ray_get_name,
1654-
[SIOCSIWFREQ -SIOCIWFIRST] (iw_handler) ray_set_freq,
1655-
[SIOCGIWFREQ -SIOCIWFIRST] (iw_handler) ray_get_freq,
1656-
[SIOCSIWMODE -SIOCIWFIRST] (iw_handler) ray_set_mode,
1657-
[SIOCGIWMODE -SIOCIWFIRST] (iw_handler) ray_get_mode,
1658-
[SIOCGIWRANGE -SIOCIWFIRST] (iw_handler) ray_get_range,
1652+
[SIOCSIWCOMMIT-SIOCIWFIRST] = (iw_handler) ray_commit,
1653+
[SIOCGIWNAME -SIOCIWFIRST] = (iw_handler) ray_get_name,
1654+
[SIOCSIWFREQ -SIOCIWFIRST] = (iw_handler) ray_set_freq,
1655+
[SIOCGIWFREQ -SIOCIWFIRST] = (iw_handler) ray_get_freq,
1656+
[SIOCSIWMODE -SIOCIWFIRST] = (iw_handler) ray_set_mode,
1657+
[SIOCGIWMODE -SIOCIWFIRST] = (iw_handler) ray_get_mode,
1658+
[SIOCGIWRANGE -SIOCIWFIRST] = (iw_handler) ray_get_range,
16591659
#ifdef WIRELESS_SPY
1660-
[SIOCSIWSPY -SIOCIWFIRST] (iw_handler) iw_handler_set_spy,
1661-
[SIOCGIWSPY -SIOCIWFIRST] (iw_handler) iw_handler_get_spy,
1662-
[SIOCSIWTHRSPY-SIOCIWFIRST] (iw_handler) iw_handler_set_thrspy,
1663-
[SIOCGIWTHRSPY-SIOCIWFIRST] (iw_handler) iw_handler_get_thrspy,
1660+
[SIOCSIWSPY -SIOCIWFIRST] = (iw_handler) iw_handler_set_spy,
1661+
[SIOCGIWSPY -SIOCIWFIRST] = (iw_handler) iw_handler_get_spy,
1662+
[SIOCSIWTHRSPY-SIOCIWFIRST] = (iw_handler) iw_handler_set_thrspy,
1663+
[SIOCGIWTHRSPY-SIOCIWFIRST] = (iw_handler) iw_handler_get_thrspy,
16641664
#endif /* WIRELESS_SPY */
1665-
[SIOCGIWAP -SIOCIWFIRST] (iw_handler) ray_get_wap,
1666-
[SIOCSIWESSID -SIOCIWFIRST] (iw_handler) ray_set_essid,
1667-
[SIOCGIWESSID -SIOCIWFIRST] (iw_handler) ray_get_essid,
1668-
[SIOCSIWRATE -SIOCIWFIRST] (iw_handler) ray_set_rate,
1669-
[SIOCGIWRATE -SIOCIWFIRST] (iw_handler) ray_get_rate,
1670-
[SIOCSIWRTS -SIOCIWFIRST] (iw_handler) ray_set_rts,
1671-
[SIOCGIWRTS -SIOCIWFIRST] (iw_handler) ray_get_rts,
1672-
[SIOCSIWFRAG -SIOCIWFIRST] (iw_handler) ray_set_frag,
1673-
[SIOCGIWFRAG -SIOCIWFIRST] (iw_handler) ray_get_frag,
1665+
[SIOCGIWAP -SIOCIWFIRST] = (iw_handler) ray_get_wap,
1666+
[SIOCSIWESSID -SIOCIWFIRST] = (iw_handler) ray_set_essid,
1667+
[SIOCGIWESSID -SIOCIWFIRST] = (iw_handler) ray_get_essid,
1668+
[SIOCSIWRATE -SIOCIWFIRST] = (iw_handler) ray_set_rate,
1669+
[SIOCGIWRATE -SIOCIWFIRST] = (iw_handler) ray_get_rate,
1670+
[SIOCSIWRTS -SIOCIWFIRST] = (iw_handler) ray_set_rts,
1671+
[SIOCGIWRTS -SIOCIWFIRST] = (iw_handler) ray_get_rts,
1672+
[SIOCSIWFRAG -SIOCIWFIRST] = (iw_handler) ray_set_frag,
1673+
[SIOCGIWFRAG -SIOCIWFIRST] = (iw_handler) ray_get_frag,
16741674
};
16751675

16761676
#define SIOCSIPFRAMING SIOCIWFIRSTPRIV /* Set framing mode */
16771677
#define SIOCGIPFRAMING SIOCIWFIRSTPRIV + 1 /* Get framing mode */
16781678
#define SIOCGIPCOUNTRY SIOCIWFIRSTPRIV + 3 /* Get country code */
16791679

16801680
static const iw_handler ray_private_handler[] = {
1681-
[0] (iw_handler) ray_set_framing,
1682-
[1] (iw_handler) ray_get_framing,
1683-
[3] (iw_handler) ray_get_country,
1681+
[0] = (iw_handler) ray_set_framing,
1682+
[1] = (iw_handler) ray_get_framing,
1683+
[3] = (iw_handler) ray_get_country,
16841684
};
16851685

16861686
static const struct iw_priv_args ray_private_args[] = {

0 commit comments

Comments
 (0)