aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ti/ti-dsplink
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-12-05 14:37:58 +0100
committerKoen Kooi <koen@openembedded.org>2010-12-06 13:50:57 +0100
commitf911e1aab342970c72e44e4f340165ca7cba56a5 (patch)
tree05a110f4393bb7834bc71dbd06c05a6cb78d9821 /recipes/ti/ti-dsplink
parent4ecf96c1bb5dfcb704c4caf35472ccde0da67780 (diff)
downloadopenembedded-f911e1aab342970c72e44e4f340165ca7cba56a5.tar.gz
ti-dsplink 1.65.00.03: add patch to fix build with recent kernels
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/ti/ti-dsplink')
-rw-r--r--recipes/ti/ti-dsplink/dsplink-BKL-fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/ti/ti-dsplink/dsplink-BKL-fix.patch b/recipes/ti/ti-dsplink/dsplink-BKL-fix.patch
new file mode 100644
index 0000000000..128d546926
--- /dev/null
+++ b/recipes/ti/ti-dsplink/dsplink-BKL-fix.patch
@@ -0,0 +1,22 @@
+From: Koen Kooi <k-kooi@ti.com>
+Subject: Adjust drv_pmgr for post 2.6.36 ioctl changes
+
+This is a buildfix
+
+---
+
+--- /tmp/drv_pmgr.c 2010-12-05 14:23:32.000000000 +0100
++++ dsplink_linux_1_65_00_03/dsplink/gpp/src/pmgr/Linux/2.6.18/drv_pmgr.c 2010-12-05 14:24:49.000000000 +0100
+@@ -495,7 +495,11 @@
+ open: DRV_Open,
+ flush: DRV_Flush,
+ release: DRV_Release,
+- ioctl: DRV_Ioctl,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
++ ioctl: DRV_Ioctl,
++#else
++ unlocked_ioctl: DRV_Ioctl,
++#endif
+ mmap: DRV_Mmap,
+ read: DRV_Read,
+ .owner = THIS_MODULE