]> 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>
Thu, 25 Aug 2011 17:55:27 +0000 (13:55 -0400)
commit51be2a675f3d431670404e0110ebcc9e7107b7c3
treeedbf23d623474fa9a3a47b52ab44d4648ebf5ba9
parent1cdc4f37f55264fe031385b1245adde24ba1da30
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