X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fcore%2Fnet-sysfs.c;h=4cbb1290a6a34707c93b0ddfa040a06f1d1d47bf;hb=9654640d0af8f2de40ff3807d3695109d3463f54;hp=6189dc03108d2da67aad2a155a3d53011a30daa0;hpb=8800c0ebf5e8363dab66647512dcef5b83203dec;p=powerpc.git diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 6189dc0310..4cbb1290a6 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -340,7 +340,7 @@ static struct attribute_group netstat_group = { .attrs = netstat_attrs, }; -#ifdef WIRELESS_EXT +#ifdef CONFIG_WIRELESS_EXT /* helper function that does all the locking etc for wireless stats */ static ssize_t wireless_show(struct device *d, char *buf, ssize_t (*format)(const struct iw_statistics *, @@ -473,7 +473,7 @@ int netdev_register_sysfs(struct net_device *net) if (net->get_stats) *groups++ = &netstat_group; -#ifdef WIRELESS_EXT +#ifdef CONFIG_WIRELESS_EXT if (net->wireless_handlers && net->wireless_handlers->get_wireless_stats) *groups++ = &wireless_group; #endif