[oe-commits] Koen Kooi : ti-dsplink 1.65.00.03: add patch to fix build with recent kernels
git version control
git at git.openembedded.org
Mon Dec 6 12:52:46 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: f911e1aab342970c72e44e4f340165ca7cba56a5
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f911e1aab342970c72e44e4f340165ca7cba56a5
Author: Koen Kooi <koen at openembedded.org>
Date: Sun Dec 5 14:37:58 2010 +0100
ti-dsplink 1.65.00.03: add patch to fix build with recent kernels
Signed-off-by: Koen Kooi <k-kooi at ti.com>
---
recipes/ti/ti-dsplink/dsplink-BKL-fix.patch | 22 ++++++++++++++++++++++
recipes/ti/ti-dsplink_1.65.00.03.bb | 2 ++
2 files changed, 24 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 0000000..128d546
--- /dev/null
+++ b/recipes/ti/ti-dsplink/dsplink-BKL-fix.patch
@@ -0,0 +1,22 @@
+From: Koen Kooi <k-kooi at 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
diff --git a/recipes/ti/ti-dsplink_1.65.00.03.bb b/recipes/ti/ti-dsplink_1.65.00.03.bb
index 4cf8f62..c2ca5d9 100644
--- a/recipes/ti/ti-dsplink_1.65.00.03.bb
+++ b/recipes/ti/ti-dsplink_1.65.00.03.bb
@@ -7,6 +7,8 @@ PV_major = "1_65"
PV_DL_PATH = "DSPLink/${PV_major}/${PV}/${PV_dot}"
+SRC_URI += "file://dsplink-BKL-fix.patch"
+
SRC_URI[dsplinktarball.md5sum] = "1bda596b631bd2f517edc70f6be4f2ca"
SRC_URI[dsplinktarball.sha256sum] = "4b1bda89bd8465b887f5bcdf7b95018bc1d1f8968c0c44f8cbad2a9e1c52bcb7"
More information about the Openembedded-commits
mailing list