]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
IB/ipath: Add missing <linux/stat.h> in ipath_chip_init.c
authorRandy Dunlap <rdunlap@xenotime.net>
Fri, 7 Oct 2011 20:59:41 +0000 (13:59 -0700)
committerRoland Dreier <roland@purestorage.com>
Mon, 10 Oct 2011 19:01:22 +0000 (12:01 -0700)
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>
drivers/infiniband/hw/ipath/ipath_init_chip.c

index 7c1eebe8c7c945e44d72a30ad7e9a4b8c02965d8..824a4d508836835c3e1b74b48f1b3cfc8ec7934e 100644 (file)
@@ -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"