Jelajahi Sumber

staging: brcm80211: fix compile error on non-x86 archs since 3.0 kernel

Since the arrival of kernel version 3.0 in the staging tree it
turns out compile error occurs for sparc64, powerpc, and arm
platforms. This patch fixes that issue.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Arend Van Spriel 14 tahun lalu
induk
melakukan
9818a4775a
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      drivers/staging/brcm80211/brcmsmac/types.h

+ 1 - 0
drivers/staging/brcm80211/brcmsmac/types.h

@@ -18,6 +18,7 @@
 #define _BRCM_TYPES_H_
 
 #include <linux/types.h>
+#include <linux/io.h>
 
 /* Bus types */
 #define	SI_BUS			0	/* SOC Interconnect */