aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-02-15 15:17:21 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-15 18:14:30 -0500
commit4f9d5b2f9a9f193e422d9b8e05537cde748eca65 (patch)
tree836cda3f27fbb83cbc1a75bd988621cf0ba22e15
parentff6944304eda0cfae6aad088d4a7c100b0215b92 (diff)
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 a38716ffa503..25f677ade63a 100644
--- a/drivers/staging/ozwpan/ozcdev.c
+++ b/drivers/staging/ozwpan/ozcdev.c
@@ -19,6 +19,7 @@
19#include "ozpd.h" 19#include "ozpd.h"
20#include "ozproto.h" 20#include "ozproto.h"
21#include "ozevent.h" 21#include "ozevent.h"
22#include "ozcdev.h"
22/*------------------------------------------------------------------------------ 23/*------------------------------------------------------------------------------
23 */ 24 */
24#define OZ_RD_BUF_SZ 256 25#define OZ_RD_BUF_SZ 256
diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c
index b48663e77487..417a52d5b293 100644
--- a/drivers/staging/ozwpan/ozhcd.c
+++ b/drivers/staging/ozwpan/ozhcd.c
@@ -36,6 +36,7 @@
36#include "oztrace.h" 36#include "oztrace.h"
37#include "ozurbparanoia.h" 37#include "ozurbparanoia.h"
38#include "ozevent.h" 38#include "ozevent.h"
39#include "ozhcd.h"
39/*------------------------------------------------------------------------------ 40/*------------------------------------------------------------------------------
40 * Number of units of buffering to capture for an isochronous IN endpoint before 41 * Number of units of buffering to capture for an isochronous IN endpoint before
41 * allowing data to be indicated up. 42 * allowing data to be indicated up.