X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Fwireless%2Fsysfs.c;h=29f820e182511fcf8a70bf672e32887404f9cb10;hb=1b6bcdbe7eaacde19b5d633b33c8d056e4818de0;hp=88aaacd9f82275a3266b67165bb9a470d8069f4c;hpb=bc06cffdec85d487c77109dffcd2f285bdc502d3;p=linux-2.6-omap-h63xx.git diff --git a/net/wireless/sysfs.c b/net/wireless/sysfs.c index 88aaacd9f82..29f820e1825 100644 --- a/net/wireless/sysfs.c +++ b/net/wireless/sysfs.c @@ -52,12 +52,13 @@ static void wiphy_dev_release(struct device *dev) cfg80211_dev_free(rdev); } -static int wiphy_uevent(struct device *dev, char **envp, - int num_envp, char *buf, int size) +#ifdef CONFIG_HOTPLUG +static int wiphy_uevent(struct device *dev, struct kobj_uevent_env *env) { /* TODO, we probably need stuff here */ return 0; } +#endif struct class ieee80211_class = { .name = "ieee80211",