From d3a0ec7e1088f861d293819da9f30c7b8d12a8d8 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Wed, 23 Sep 2009 22:37:27 +0100 Subject: omap3-sgx-modules_1.3.13.1607.bb : add 2.6.31 patch building, only for omapzoom2 at the moment. --- .../omap3-sgx-modules/proc-interface.patch | 20 ++++++++++++++++++++ .../powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch (limited to 'recipes/powervr-drivers') 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}" -- cgit v1.2.3