summaryrefslogtreecommitdiff
path: root/package/mac80211/src/net/wireless/sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/src/net/wireless/sysfs.c')
-rw-r--r--package/mac80211/src/net/wireless/sysfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/mac80211/src/net/wireless/sysfs.c b/package/mac80211/src/net/wireless/sysfs.c
index 2d5d2255a2..29f820e182 100644
--- a/package/mac80211/src/net/wireless/sysfs.c
+++ b/package/mac80211/src/net/wireless/sysfs.c
@@ -53,8 +53,7 @@ static void wiphy_dev_release(struct device *dev)
}
#ifdef CONFIG_HOTPLUG
-static int wiphy_uevent(struct device *dev, char **envp,
- int num_envp, char *buf, int size)
+static int wiphy_uevent(struct device *dev, struct kobj_uevent_env *env)
{
/* TODO, we probably need stuff here */
return 0;