mac80211: rename ieee80211_cfg.h to cfg.h
PATCH 1/3 mac80211: rename ieee80211_cfg.h to cfg.h
From: Michael Wu <[email protected]>
Might as well rename ieee80211_cfg.h to cfg.h to keep things consistent.
Signed-off-by Michael Wu <[email protected]>
---
net/mac80211/cfg.c | 2 +- net/mac80211/cfg.h | 9 +++++++++ net/mac80211/ieee80211.c | 2 +- net/mac80211/ieee80211_cfg.h | 9 --------- 4 files changed, 11 insertions(+), 11 deletions(-)
net/mac80211/cfg.c +1 -1
@@ -11,7 +11,7 @@#include <net/net_namespace.h> #include <net/cfg80211.h> #include "ieee80211_i.h" -#include "ieee80211_cfg.h" +#include "cfg.h" static int ieee80211_add_iface (struct wiphy *wiphy,char *name,unsigned int type)
net/mac80211/cfg.h new file +9 -0
@@ -0,0 +1,9 @@ +/* +* mac80211 configuration hooks for cfg80211 +*/ +#ifndef __CFG_H +#define __CFG_H + +extern struct cfg80211_ops mac80211_config_ops; + +#endif /* __CFG_H */
net/mac80211/ieee80211.c +1 -1
@@ -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"
net/mac80211/ieee80211_cfg.h deleted +0 -9
@@ -1,9 +0,0 @@ -/* -* mac80211 configuration hooks for cfg80211 -*/ -#ifndef __IEEE80211_CFG_H -#define __IEEE80211_CFG_H - -extern struct cfg80211_ops mac80211_config_ops; - -#endif /* __IEEE80211_CFG_H */
Johannes Berg
maintainerQuoted 3 lines · Michael Wu
From: Michael Wu <[email protected]>
Might as well rename
ieee80211_cfg.htocfg.hto keep things consistent.
Maybe we should just get rid of it and put the one thing into ieee80211_i.h?
johannes