]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iwlwifi: move eeprom defines to iwl-eeprom.c
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 13 Feb 2012 09:17:57 +0000 (11:17 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 27 Feb 2012 21:27:27 +0000 (13:27 -0800)
They don't need to be in iwl-dev.h

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-eeprom.c

index 479d3281a9723591914798f9cdf44b6eb7afeb9e..a670c82e82fdb306fd0672e5cd21fe77a3c73780 100644 (file)
@@ -443,9 +443,6 @@ struct iwl_chain_noise_data {
        u8 state;
 };
 
-#define        EEPROM_SEM_TIMEOUT 10           /* milliseconds */
-#define EEPROM_SEM_RETRY_LIMIT 1000    /* number of attempts (not time) */
-
 enum {
        MEASUREMENT_READY = (1 << 0),
        MEASUREMENT_ACTIVE = (1 << 1),
index d1fd1cdb29c23923e4818bc6e6afb9426303ac0e..5936833ff759839a5bb585c8eb659a8eb70f7a00 100644 (file)
@@ -149,6 +149,10 @@ static const u8 iwl_eeprom_band_7[] = {       /* 5.2 ht40 channel */
  * EEPROM chip, not a single event, so even reads could conflict if they
  * weren't arbitrated by the semaphore.
  */
+
+#define        EEPROM_SEM_TIMEOUT 10           /* milliseconds */
+#define EEPROM_SEM_RETRY_LIMIT 1000    /* number of attempts (not time) */
+
 static int iwl_eeprom_acquire_semaphore(struct iwl_bus *bus)
 {
        u16 count;