summaryrefslogtreecommitdiffstats
path: root/api/usb2impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'api/usb2impl.c')
-rw-r--r--api/usb2impl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/api/usb2impl.c b/api/usb2impl.c
index f284328..7df4af9 100644
--- a/api/usb2impl.c
+++ b/api/usb2impl.c
@@ -1,11 +1,12 @@
// all for Linux
-#include <generated/autoconf.h>
+//#include <linux/autoconf.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/kref.h>
+//#include <linux/smp_lock.h>
#include <linux/usb.h>
#include <asm/uaccess.h>
#include <linux/device.h>
@@ -126,7 +127,8 @@ Dword Usb2_writeControlBus (
IN Dword bufferLength,
IN Byte* buffer
) {
-
+
+// Ganymede *pGanymede = (Ganymede *)demodulator;
Dword ret,act_len;
ret = 0;
// printk("- Enter %s Function -\n",__FUNCTION__);
@@ -149,6 +151,7 @@ Dword Usb2_readControlBus (
OUT Byte* buffer
) {
+// Ganymede *pGanymede = (Ganymede *)demodulator;
Dword ret, nBytesRead;
ret = 0;
// printk("- Enter %s Function -\n",__FUNCTION__);