@@ -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