]> git.karo-electronics.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>
Sun, 31 Jul 2011 08:05:53 +0000 (04:05 -0400)
commit509ae540edf52918c1bfc33b7ce81ec98d741c21
tree0bf0535a4f44b712625ac85d1f84565d8666a11b
parent69c5ff808c8d46b1bf2162e7fc90280f844cae80
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_sysfs.c
drivers/infiniband/hw/mthca/mthca_provider.c