浏览代码

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 年之前
父节点
当前提交
0b992080a9
共有 2 个文件被更改,包括 2 次插入0 次删除
  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"