Skip to content

Commit

Permalink
drivers/uwb: fix implicit use of stat.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent 025ed13 commit 0b99208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/uwb/lc-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down
1 change: 1 addition & 0 deletions drivers/uwb/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <linux/device.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include "uwb-internal.h"


Expand Down

0 comments on commit 0b99208

Please sign in to comment.