diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index d6fc55cc8ad4..6981ba178e19 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -11,7 +11,7 @@ #include #include #include "ieee80211_i.h" -#include "ieee80211_cfg.h" +#include "cfg.h" static int ieee80211_add_iface(struct wiphy *wiphy, char *name, enum nl80211_iftype type) diff --git a/net/mac80211/ieee80211_cfg.h b/net/mac80211/cfg.h similarity index 55% rename from net/mac80211/ieee80211_cfg.h rename to net/mac80211/cfg.h index 85ed2c924878..7d7879f5b00b 100644 --- a/net/mac80211/ieee80211_cfg.h +++ b/net/mac80211/cfg.h @@ -1,9 +1,9 @@ /* * mac80211 configuration hooks for cfg80211 */ -#ifndef __IEEE80211_CFG_H -#define __IEEE80211_CFG_H +#ifndef __CFG_H +#define __CFG_H extern struct cfg80211_ops mac80211_config_ops; -#endif /* __IEEE80211_CFG_H */ +#endif /* __CFG_H */ diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c index 4a213a20373a..89be6629cfc0 100644 --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c @@ -31,7 +31,7 @@ #include "wme.h" #include "aes_ccm.h" #include "ieee80211_led.h" -#include "ieee80211_cfg.h" +#include "cfg.h" #include "debugfs.h" #include "debugfs_netdev.h"