2008-04-03 10:22:37

by Filippo Zangheri

[permalink] [raw]
Subject: [PATCH] iwlwifi: add missing include in iwl-3945-led.c

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

Signed-off-by: Filippo Zangheri <[email protected]>
---
drivers/net/wireless/iwlwifi/iwl-3945-led.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-led.c b/drivers/net/wireless/iwlwifi/iwl-3945-led.c
index d200d08..7743cac 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945-led.c
+++ b/drivers/net/wireless/iwlwifi/iwl-3945-led.c
@@ -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)

--
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------



2008-04-03 17:48:12

by Filippo Zangheri

[permalink] [raw]
Subject: Re: [PATCH] iwlwifi: add missing include in iwl-3945-led.c

Chatre, Reinette ha scritto:
> On Thursday, April 03, 2008 3:23 AM, Filippo Zangheri wrote:
>
>> iwl-3945-led.c does not include a relevant file.
>>
>> Signed-off-by: Filippo Zangheri <[email protected]> ---
>> drivers/net/wireless/iwlwifi/iwl-3945-led.c | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-led.c
>> b/drivers/net/wireless/iwlwifi/iwl-3945-led.c
>> index d200d08..7743cac 100644
>> --- a/drivers/net/wireless/iwlwifi/iwl-3945-led.c
>> +++ b/drivers/net/wireless/iwlwifi/iwl-3945-led.c
>> @@ -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.

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

--
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------


2008-04-03 15:59:18

by Reinette Chatre

[permalink] [raw]
Subject: RE: [PATCH] iwlwifi: add missing include in iwl-3945-led.c

On Thursday, April 03, 2008 3:23 AM, Filippo Zangheri wrote:

> iwl-3945-led.c does not include a relevant file.
>
> Signed-off-by: Filippo Zangheri <[email protected]> ---
> drivers/net/wireless/iwlwifi/iwl-3945-led.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-led.c
> b/drivers/net/wireless/iwlwifi/iwl-3945-led.c
> index d200d08..7743cac 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-3945-led.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-3945-led.c
> @@ -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