瀏覽代碼

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 年之前
父節點
當前提交
9818a4775a
共有 1 個文件被更改,包括 1 次插入0 次删除
  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_
 #define _BRCM_TYPES_H_
 
 
 #include <linux/types.h>
 #include <linux/types.h>
+#include <linux/io.h>
 
 
 /* Bus types */
 /* Bus types */
 #define	SI_BUS			0	/* SOC Interconnect */
 #define	SI_BUS			0	/* SOC Interconnect */