diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2012-09-21 20:01:45 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2012-09-21 20:01:45 (GMT) |
commit | c0dd634c8b5b2eb7c566ad5a8d8e0a75ac4058c3 (patch) | |
tree | 98d25bda9e81f24889dd31827d0252ab088b85bb /api/usb2impl.c | |
parent | fc6c0fc3df42cfad3fe07aa20d06085d4026f0c0 (diff) | |
download | AF903x_SRC-c0dd634c8b5b2eb7c566ad5a8d8e0a75ac4058c3.zip AF903x_SRC-c0dd634c8b5b2eb7c566ad5a8d8e0a75ac4058c3.tar.gz AF903x_SRC-c0dd634c8b5b2eb7c566ad5a8d8e0a75ac4058c3.tar.bz2 |
Only the asus stick should work with this on 3.2 kernel. Other
tuners/demodulators etc are disabled. Untested.
Diffstat (limited to 'api/usb2impl.c')
-rw-r--r-- | api/usb2impl.c | 7 |
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__); |