Skip to contentSkip to conversation

iwlwifi: add missing include in iwl-3945-led.c

PATCH In review Filippo Zangheri 2 participants 3 messages Apr 3, 2008 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iwlwifi: add missing include in iwl-3945-led.c

iwl-3945-led.c does not include a relevant file.

---
 drivers/net/wireless/iwlwifi/iwl-3945-led.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/wireless/iwlwifi/iwl-3945-led.c +1 -0
index d200d08..7743cac 100644
@@ -40,6 +40,7 @@
 #include <asm/unaligned.h>
 
 #include "iwl-3945.h"
+#include "iwl-3945-led.h"
 #include "iwl-helpers.h"
 
 #define IWL_1MB_RATE (128 * 1024)
Signature · 12 lines
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D---- G-- e++ h--
r++ z*
------END GEEK CODE BLOCK------
#1 lore raw
Quoted 13 lines · Filippo Zangheri

iwl-3945-led.c does not include a relevant file.

drivers/net/wireless/iwlwifi/iwl-3945-led.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/wireless/iwlwifi/iwl-3945-led.c +0 -0
index d200d08..7743cac 100644

drivers/net/wireless/iwlwifi/iwl-3945-led.c line 46

Quoted 7 lines
drivers/net/wireless/iwlwifi/iwl-3945-led.c +1 -0
@@ -40,6 +40,7 @@
 #include <asm/unaligned.h>
 
 #include "iwl-3945.h"
+#include "iwl-3945-led.h"
 #include "iwl-helpers.h"
 
 #define IWL_1MB_RATE (128 * 1024)

... but iwl-3945.h which is just above the line you added already includes this header file.

Reinette

#2 lore raw

Chatre, Reinette ha scritto:

Quoted 20 lines · Filippo Zangheri
Quoted 19 lines

iwl-3945-led.c does not include a relevant file.

drivers/net/wireless/iwlwifi/iwl-3945-led.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/wireless/iwlwifi/iwl-3945-led.c +1 -0
index d200d08..7743cac 100644
@@ -40,6 +40,7 @@
 #include <asm/unaligned.h>
 
 #include "iwl-3945.h"
+#include "iwl-3945-led.h"
 #include "iwl-helpers.h"
 
Quoted 5 lines

drivers/net/wireless/iwlwifi/iwl-3945-led.c line 46

Quoted 2 lines
drivers/net/wireless/iwlwifi/iwl-3945-led.c +0 -0
 #define IWL_1MB_RATE (128 * 1024)

... but iwl-3945.h which is just above the line you added already includes this header file.

Right, but here it refused to compile without this.. I apologize, I'm really sorry!

Signature · 12 lines
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D---- G-- e++ h--
r++ z*
------END GEEK CODE BLOCK------