|
@@ -52,12 +52,14 @@ static void wiphy_dev_release(struct device *dev)
|
|
|
cfg80211_dev_free(rdev);
|
|
cfg80211_dev_free(rdev);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+#ifdef CONFIG_HOTPLUG
|
|
|
static int wiphy_uevent(struct device *dev, char **envp,
|
|
static int wiphy_uevent(struct device *dev, char **envp,
|
|
|
int num_envp, char *buf, int size)
|
|
int num_envp, char *buf, int size)
|
|
|
{
|
|
{
|
|
|
/* TODO, we probably need stuff here */
|
|
/* TODO, we probably need stuff here */
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
struct class ieee80211_class = {
|
|
struct class ieee80211_class = {
|
|
|
.name = "ieee80211",
|
|
.name = "ieee80211",
|