summaryrefslogtreecommitdiff
path: root/recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch')
-rw-r--r--recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch20
1 files changed, 20 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;
+ }