summaryrefslogtreecommitdiff
path: root/recipes/powervr-drivers
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-09-23 22:37:27 +0100
committerGraeme Gregory <dp@xora.org.uk>2009-09-23 22:37:27 +0100
commitd3a0ec7e1088f861d293819da9f30c7b8d12a8d8 (patch)
tree36f0c924a5b2bfd05819ff5b99f16cc15329c886 /recipes/powervr-drivers
parentbc56d757b3a97dc2c0df929e70476671b7d7b84f (diff)
omap3-sgx-modules_1.3.13.1607.bb : add 2.6.31 patch building, only for
omapzoom2 at the moment.
Diffstat (limited to 'recipes/powervr-drivers')
-rw-r--r--recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch20
-rw-r--r--recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb2
2 files changed, 22 insertions, 0 deletions
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
index 0000000000..831b3edd4d
--- /dev/null
+++ b/recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch
@@ -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;
+ }
diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb
index 8e4d2a25bd..c58c25c092 100644
--- a/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb
+++ b/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb
@@ -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}"