aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/meilhaus/me4600_ao.h
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-03-16 00:54:53 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:53:27 -0700
commit483f29cc43bf336e7c4cb8cb7aaccc1f55a99e4e (patch)
treed6bae551fe80e792348bdf523f3b590cfadfc521 /drivers/staging/meilhaus/me4600_ao.h
parenta44522b20d24c1c2f6496106be17bc1fb6448d42 (diff)
Staging: meilhaus: remove dependence on kernel version
Cc: David Kiliani <mail@davidkiliani.de> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/meilhaus/me4600_ao.h')
-rw-r--r--drivers/staging/meilhaus/me4600_ao.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/meilhaus/me4600_ao.h b/drivers/staging/meilhaus/me4600_ao.h
index 6fbc4a2dd9d..7579435adc6 100644
--- a/drivers/staging/meilhaus/me4600_ao.h
+++ b/drivers/staging/meilhaus/me4600_ao.h
@@ -225,11 +225,7 @@ typedef struct me4600_ao_subdevice {
wait_queue_head_t wait_queue; /**< Wait queue to put on tasks waiting for data to arrive. */
struct workqueue_struct *me4600_workqueue;
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
- struct work_struct ao_control_task;
-#else
struct delayed_work ao_control_task;
-#endif
volatile int ao_control_task_flag; /**< Flag controling reexecuting of control task */