summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2011-10-07 13:59:41 -0700
committerRoland Dreier <roland@purestorage.com>2011-10-10 12:01:22 -0700
commit3e60a77ea218d1915bdc9127f88ab866fd2ac643 (patch)
treef0558ce37c96029d3a67944295179ddb879d8059 /drivers/infiniband/hw/ipath
parent976d167615b64e14bc1491ca51d424e2ba9a5e84 (diff)
downloadtalos-op-linux-3e60a77ea218d1915bdc9127f88ab866fd2ac643.tar.gz
talos-op-linux-3e60a77ea218d1915bdc9127f88ab866fd2ac643.zip
IB/ipath: Add missing <linux/stat.h> in ipath_chip_init.c
Fix build errors: drivers/infiniband/hw/ipath/ipath_init_chip.c:54:1: error: 'S_IRUGO' undeclared here (not in a function) drivers/infiniband/hw/ipath/ipath_init_chip.c:54:1: error: bit-field '<anonymous>' width not an integer constant drivers/infiniband/hw/ipath/ipath_init_chip.c:67:1: error: 'S_IWUSR' undeclared here (not in a function) drivers/infiniband/hw/ipath/ipath_init_chip.c:67:1: error: bit-field '<anonymous>' width not an integer constant Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_init_chip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_init_chip.c b/drivers/infiniband/hw/ipath/ipath_init_chip.c
index 7c1eebe8c7c9..824a4d508836 100644
--- a/drivers/infiniband/hw/ipath/ipath_init_chip.c
+++ b/drivers/infiniband/hw/ipath/ipath_init_chip.c
@@ -34,6 +34,7 @@
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
+#include <linux/stat.h>
#include <linux/vmalloc.h>
#include "ipath_kernel.h"
OpenPOWER on IntegriCloud