omap3-sgx-modules_1.3.13.1607.bb : add 2.6.31 patch building, only for
authorGraeme Gregory <dp@xora.org.uk>
Wed, 23 Sep 2009 21:37:27 +0000 (22:37 +0100)
committerGraeme Gregory <dp@xora.org.uk>
Wed, 23 Sep 2009 21:37:27 +0000 (22:37 +0100)
omapzoom2 at the moment.

recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch [new file with mode: 0644]
recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb

diff --git a/recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch b/recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch
new file mode 100644 (file)
index 0000000..831b3ed
--- /dev/null
@@ -0,0 +1,20 @@
+Index: omap3-sgx-modules-1.3.13.1607/services4/srvkm/env/linux/proc.c
+===================================================================
+--- omap3-sgx-modules-1.3.13.1607.orig/services4/srvkm/env/linux/proc.c
++++ omap3-sgx-modules-1.3.13.1607/services4/srvkm/env/linux/proc.c
+@@ -134,7 +134,6 @@ int CreateProcEntry(const char * name, r
+     if (file)
+     {
+-        file->owner = THIS_MODULE;
+               file->read_proc = rhandler;
+               file->write_proc = whandler;
+               file->data = data;
+@@ -165,7 +164,6 @@ int CreateProcReadEntry(const char * nam
+     if (file)
+     {
+-        file->owner = THIS_MODULE;
+         return 0;
+     }
index 8e4d2a2..c58c25c 100644 (file)
@@ -9,6 +9,8 @@ SRC_URI = "file://omap3-sgx-modules-${PV}.tar.bz2 \
            file://build_es3.x_sgx.patch;patch=1 \
 "
 
+SRC_URI_append_omapzoom2 = " file://proc-interface.patch;patch=1"
+
 PVRBUILD = "release"
 
 MAKE_TARGETS = " BUILD=${PVRBUILD}"