From: Graeme Gregory Date: Wed, 23 Sep 2009 21:37:27 +0000 (+0100) Subject: omap3-sgx-modules_1.3.13.1607.bb : add 2.6.31 patch building, only for X-Git-Tag: Release-2010-05/1~2316^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3a0ec7e1088f861d293819da9f30c7b8d12a8d8;p=openembedded.git omap3-sgx-modules_1.3.13.1607.bb : add 2.6.31 patch building, only for omapzoom2 at the moment. --- 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}"