Browse Source

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>
Paul Gortmaker 14 years ago
parent
commit
0b992080a9
2 changed files with 2 additions and 0 deletions
  1. 1 0
      drivers/uwb/lc-dev.c
  2. 1 0
      drivers/uwb/scan.c

+ 1 - 0
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) */

+ 1 - 0
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"