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)
commit3e60a77ea218d1915bdc9127f88ab866fd2ac643
treef0558ce37c96029d3a67944295179ddb879d8059
parent976d167615b64e14bc1491ca51d424e2ba9a5e84
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>
drivers/infiniband/hw/ipath/ipath_init_chip.c