]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Sun, 31 Jul 2011 08:06:24 +0000 (04:06 -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 90113bafefca8dafbd4aa210fc2ef81887238cae..dea265873cbc6f7d843c5758ecb48be8ddb2e473 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 367aa12786b9b25e3f14430724b1a8366ad71898..cbb6a5e703d255002450442ecf32cd83a4008952 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"