aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-adsl-mei
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-13 14:00:57 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-17 18:35:51 +0200
commitb510ab513e19a0ee4371aa23bb1a9f50aa2101e8 (patch)
treee12df8a820808a6ca2d1e95161935aad93cf7829 /package/kernel/lantiq/ltq-adsl-mei
parentc00b2df6c8e421ea7aa96f53178dc85db99f2305 (diff)
downloadupstream-b510ab513e19a0ee4371aa23bb1a9f50aa2101e8.tar.gz
upstream-b510ab513e19a0ee4371aa23bb1a9f50aa2101e8.tar.bz2
upstream-b510ab513e19a0ee4371aa23bb1a9f50aa2101e8.zip
kernel: drop outdated kernel version switches for local code
This drops kernel version switches for versions not supported by OpenWrt master at the moment. This only adjusts local code, but doesn't touch patches to existing external packages. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package/kernel/lantiq/ltq-adsl-mei')
-rw-r--r--package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h b/package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h
index dc9f1c241b..e5089c43a3 100644
--- a/package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h
+++ b/package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h
@@ -111,11 +111,7 @@ static inline long
ugly_hack_sleep_on_timeout(wait_queue_head_t *q, long timeout)
{
unsigned long flags;
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,13,0))
wait_queue_entry_t wait;
-#else
- wait_queue_t wait;
-#endif
init_waitqueue_entry(&wait, current);
@@ -523,9 +519,7 @@ typedef struct DSL_DEV_Device
#define IFX_DFEIR 0
#define IFX_DYING_GASP 1
DSL_DEV_MeiDebug_t lop_debugwr; /* dying gasp */
-#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0))
struct module *owner;
-#endif
} DSL_DEV_Device_t; /* ifx_adsl_device_t */
#define DSL_DEV_PRIVATE(dev) ((ifx_mei_device_private_t*)(dev->pPriv))