Skip to contentSkip to conversation

mac80211: rename ieee80211_cfg.h to cfg.h

PATCH In review Michael Wu 2 participants 2 messages Sep 18, 2007 – Sep 19, 2007 mac80211

lore
Share & tools
lore

Michael Wu

author
#0 lore raw

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.

---

 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
index b1c13bc..3018815 100644
@@ -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
new file mode 100644
index 0000000..7d7879f
@@ -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
index 784f03f..d287470 100644
@@ -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
deleted file mode 100644
index 85ed2c9..0000000
@@ -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 */
maintainer
#1 lore raw
Quoted 3 lines · Michael Wu

From: Michael Wu <[email protected]>

Might as well rename ieee80211_cfg.h to cfg.h to keep things consistent.

Maybe we should just get rid of it and put the one thing into ieee80211_i.h?

johannes