summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-02-15 21:17:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 15:14:30 -0800
commit4f9d5b2f9a9f193e422d9b8e05537cde748eca65 (patch)
tree836cda3f27fbb83cbc1a75bd988621cf0ba22e15
parentff6944304eda0cfae6aad088d4a7c100b0215b92 (diff)
downloadlinux-3.10-4f9d5b2f9a9f193e422d9b8e05537cde748eca65.tar.gz
linux-3.10-4f9d5b2f9a9f193e422d9b8e05537cde748eca65.tar.bz2
linux-3.10-4f9d5b2f9a9f193e422d9b8e05537cde748eca65.zip
staging/ozwpan: Add missing header includes
ozcdev.c and ozhcd.c should include their own header file, so sparse knows which functions are declared and which not. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/ozwpan/ozcdev.c1
-rw-r--r--drivers/staging/ozwpan/ozhcd.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/ozwpan/ozcdev.c b/drivers/staging/ozwpan/ozcdev.c
index a38716ffa50..25f677ade63 100644
--- a/drivers/staging/ozwpan/ozcdev.c
+++ b/drivers/staging/ozwpan/ozcdev.c
@@ -19,6 +19,7 @@
#include "ozpd.h"
#include "ozproto.h"
#include "ozevent.h"
+#include "ozcdev.h"
/*------------------------------------------------------------------------------
*/
#define OZ_RD_BUF_SZ 256
diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c
index b48663e7748..417a52d5b29 100644
--- a/drivers/staging/ozwpan/ozhcd.c
+++ b/drivers/staging/ozwpan/ozhcd.c
@@ -36,6 +36,7 @@
#include "oztrace.h"
#include "ozurbparanoia.h"
#include "ozevent.h"
+#include "ozhcd.h"
/*------------------------------------------------------------------------------
* Number of units of buffering to capture for an isochronous IN endpoint before
* allowing data to be indicated up.