summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-17 22:50:39 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:32:18 +0100
commit0b992080a98fa6f0722c43060819f7c311203a1c (patch)
tree76986264d72e8d2a80977cc2ee89b8e8a2659913 /drivers
parentspi: Add export.h for THIS_MODULE/EXPORT_SYMBOL to spi.c (diff)
downloadlinux-0b992080a98fa6f0722c43060819f7c311203a1c.tar.xz
linux-0b992080a98fa6f0722c43060819f7c311203a1c.zip
drivers/uwb: fix implicit use of stat.h
The module.h (via device.h) was pulling handfuls of implicitly present header files -- including basic stuff like stat.h. Fix up these stat.h users in advance so they don't break on the cleanup. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/uwb/lc-dev.c1
-rw-r--r--drivers/uwb/scan.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/uwb/lc-dev.c b/drivers/uwb/lc-dev.c
index 90113bafefca..dea265873cbc 100644
--- a/drivers/uwb/lc-dev.c
+++ b/drivers/uwb/lc-dev.c
@@ -28,6 +28,7 @@
#include <linux/err.h>
#include <linux/kdev_t.h>
#include <linux/random.h>
+#include <linux/stat.h>
#include "uwb-internal.h"
/* We initialize addresses to 0xff (invalid, as it is bcast) */
diff --git a/drivers/uwb/scan.c b/drivers/uwb/scan.c
index 367aa12786b9..cbb6a5e703d2 100644
--- a/drivers/uwb/scan.c
+++ b/drivers/uwb/scan.c
@@ -36,6 +36,7 @@
#include <linux/device.h>
#include <linux/err.h>
#include <linux/slab.h>
+#include <linux/stat.h>
#include "uwb-internal.h"