diff mbox

[2/2] DSPBRIDGE: fix build error for undefined WCD_debugMask with debug

Message ID 1251268935-1215-2-git-send-email-Hiroshi.DOYU@nokia.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Hiroshi DOYU Aug. 26, 2009, 6:42 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c
index 8708c78..ee15b02 100644
--- a/drivers/dsp/bridge/pmgr/wcd.c
+++ b/drivers/dsp/bridge/pmgr/wcd.c
@@ -145,6 +145,18 @@ 
 #define MAX_STREAMS     16
 #define MAX_BUFS	64
 
+/* Device IOCtl function pointer */
+struct WCD_Cmd {
+	u32(*fxn)(union Trapped_Args *args);
+	u32 dwIndex;
+} ;
+
+/*  ----------------------------------- Globals */
+#if GT_TRACE
+static struct GT_Mask WCD_debugMask = { NULL, NULL };	/* Core VxD Mask */
+#endif
+static u32 WCD_cRefs;
+
 static inline void __cp_fm_usr(void *to, const void __user *from,
 			       DSP_STATUS *err, unsigned long bytes)
 {
@@ -185,18 +197,6 @@  static inline void __cp_to_usr(void __user *to, const void *from,
 #define cp_to_usr(to, from, err, n)				\
 	__cp_to_usr(to, from, &(err), (n) * sizeof(*(from)))
 
-/* Device IOCtl function pointer */
-struct WCD_Cmd {
-	u32(*fxn)(union Trapped_Args *args);
-	u32 dwIndex;
-} ;
-
-/*  ----------------------------------- Globals */
-#if GT_TRACE
-static struct GT_Mask WCD_debugMask = { NULL, NULL };	/* Core VxD Mask */
-#endif
-static u32 WCD_cRefs;
-
 /*
  *  Function table.
  *  The order of these functions MUST be the same as the order of the command