drivers/uwb: fix implicit use of stat.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Jul 2011 20:50:39 +0000 (16:50 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:18 +0000 (19:32 -0400)
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>
drivers/uwb/lc-dev.c
drivers/uwb/scan.c

index 90113ba..dea2658 100644 (file)
@@ -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) */
index 367aa12..cbb6a5e 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/device.h>
 #include <linux/err.h>
 #include <linux/slab.h>
+#include <linux/stat.h>
 #include "uwb-internal.h"