diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-27 19:27:45 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 00:31:34 +0100 |
commit | fc87af74af7f856bb8e7585308fb1fdaaa69ec73 (patch) | |
tree | bc8cfa53f4326402b8c91ead8d0e3cd2982be712 /drivers/infiniband/hw/mthca/mthca_provider.c | |
parent | video: Add module.h to drivers/video files who really use it. (diff) | |
download | linux-fc87af74af7f856bb8e7585308fb1fdaaa69ec73.tar.xz linux-fc87af74af7f856bb8e7585308fb1fdaaa69ec73.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_provider.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_provider.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_provider.c b/drivers/infiniband/hw/mthca/mthca_provider.c index 365fe0e14192..463943ccf462 100644 --- a/drivers/infiniband/hw/mthca/mthca_provider.c +++ b/drivers/infiniband/hw/mthca/mthca_provider.c @@ -40,6 +40,7 @@ #include <linux/sched.h> #include <linux/slab.h> +#include <linux/stat.h> #include <linux/mm.h> #include "mthca_dev.h" |