Re: [patch 7/8] b43 wireless needs <linux/io.h>

From: Michael Buesch
Date: Sat Oct 13 2007 - 11:23:04 EST


On Saturday 13 October 2007 14:31:30 Geert Uytterhoeven wrote:
> b43 wireless needs <linux/io.h>
>
> linux/drivers/net/wireless/b43/pio.h: In function 'b43_pio_write':
> linux/drivers/net/wireless/b43/pio.h:89: error: implicit declaration of function 'mmiowb'
>
> linux/drivers/net/wireless/b43/phy.c: In function 'b43_phy_write':
> linux/drivers/net/wireless/b43/phy.c:301: error: implicit declaration of function 'mmiowb'
>
> linuxdrivers/net/wireless/b43/sysfs.c: In function 'b43_attr_interfmode_store':
> linuxdrivers/net/wireless/b43/sysfs.c:147: error: implicit declaration of function 'mmiowb'
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Signed-off-by: Michael Buesch <mb@xxxxxxxxx>
Cc: Larry Finger <larry.finger@xxxxxxxxxxxx>

> ---
> drivers/net/wireless/b43/phy.c | 1 +
> drivers/net/wireless/b43/pio.h | 1 +
> drivers/net/wireless/b43/sysfs.c | 5 +++--
> 3 files changed, 5 insertions(+), 2 deletions(-)
>
> --- a/drivers/net/wireless/b43/phy.c
> +++ b/drivers/net/wireless/b43/phy.c
> @@ -26,6 +26,7 @@
> */
>
> #include <linux/delay.h>
> +#include <linux/io.h>
> #include <linux/types.h>
>
> #include "b43.h"
> --- a/drivers/net/wireless/b43/pio.h
> +++ b/drivers/net/wireless/b43/pio.h
> @@ -4,6 +4,7 @@
> #include "b43.h"
>
> #include <linux/interrupt.h>
> +#include <linux/io.h>
> #include <linux/list.h>
> #include <linux/skbuff.h>
>
> --- a/drivers/net/wireless/b43/sysfs.c
> +++ b/drivers/net/wireless/b43/sysfs.c
> @@ -23,13 +23,14 @@
>
> */
>
> +#include <linux/capability.h>
> +#include <linux/io.h>
> +
> #include "b43.h"
> #include "sysfs.h"
> #include "main.h"
> #include "phy.h"
>
> -#include <linux/capability.h>
> -
> #define GENERIC_FILESIZE 64
>
> static int get_integer(const char *buf, size_t count)
>



--
Greetings Michael.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/