]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
iwlwifi: move driver defines to iwl-drv.h
authorJohannes Berg <johannes.berg@intel.com>
Tue, 3 Apr 2012 23:44:37 +0000 (16:44 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Apr 2012 21:29:02 +0000 (14:29 -0700)
These defines will have to be shared
between modules, but they seem better
placed in iwl-drv.h than iwl-shared.h.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-drv.h
drivers/net/wireless/iwlwifi/iwl-shared.h
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c

index d479dace9fc6573821520cf8efc415e6f8d29cae..0aba3780160f74055f5183ec05db0e95f7e4040f 100644 (file)
@@ -51,6 +51,7 @@
 #include "iwl-agn.h"
 #include "iwl-trans.h"
 #include "iwl-op-mode.h"
+#include "iwl-drv.h"
 
 /******************************************************************************
  *
index 9ffcd1eacbd418fcf15bd915fa255de24b909789..2cbf137b25bf7b55ddddf1d4d9792b6d1c03fba9 100644 (file)
 #ifndef __iwl_drv_h__
 #define __iwl_drv_h__
 
+/* for all modules */
+#define DRV_NAME        "iwlwifi"
+#define IWLWIFI_VERSION "in-tree:"
+#define DRV_COPYRIGHT  "Copyright(c) 2003-2012 Intel Corporation"
+#define DRV_AUTHOR     "<ilw@linux.intel.com>"
+
+
 /**
  * DOC: Driver system flows - drv component
  *
index 079964bc07ed4e9d0e6aaff67b3ee8b388dc6625..3f21dd2bd8b048df443caeb1afc5f6b904c36f61 100644 (file)
 #include <linux/gfp.h>
 #include <net/mac80211.h>
 
-#define DRV_NAME        "iwlwifi"
-#define IWLWIFI_VERSION "in-tree:"
-#define DRV_COPYRIGHT  "Copyright(c) 2003-2012 Intel Corporation"
-#define DRV_AUTHOR     "<ilw@linux.intel.com>"
-
 extern struct iwl_mod_params iwlagn_mod_params;
 
 #define IWL_DISABLE_HT_ALL     BIT(0)
index 36616e3f96405650c3c8faa57c87b2dd418db1f9..b6522ca2d8798957b82892be29f79a5cb24052dc 100644 (file)
@@ -68,6 +68,7 @@
 #include <linux/bitops.h>
 #include <linux/gfp.h>
 
+#include "iwl-drv.h"
 #include "iwl-trans.h"
 #include "iwl-shared.h"
 #include "iwl-trans-pcie-int.h"