]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
infiniband: Fix up users implicitly relying on getting stat.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 17:27:45 +0000 (13:27 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:34 +0000 (19:31 -0400)
commitfc87af74af7f856bb8e7585308fb1fdaaa69ec73
treebc8cfa53f4326402b8c91ead8d0e3cd2982be712
parent355b200bacdb6017669cdc5bc9e7b1037aac42a2
infiniband: Fix up users implicitly relying on getting stat.h

They get it via module.h (via device.h) but we want to clean that up.
When we do, we'll get things like:

  CC [M]  drivers/infiniband/core/sysfs.o
  sysfs.c:361: error: 'S_IRUGO' undeclared here (not in a function)
  sysfs.c:654: error: 'S_IWUSR' undeclared here (not in a function)

so add in the stat header it is using explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/infiniband/core/sysfs.c
drivers/infiniband/hw/ipath/ipath_init_chip.c
drivers/infiniband/hw/ipath/ipath_sysfs.c
drivers/infiniband/hw/mthca/mthca_provider.c