summaryrefslogtreecommitdiff
path: root/drivers/mxc
diff options
context:
space:
mode:
authorRichard Liu <xuegang.liu@nxp.com>2020-10-13 13:42:03 +0000
committerXianzhong <xianzhong.li@nxp.com>2020-10-16 10:17:42 +0800
commit8e07eb25b975335d05873ab8eed7b8da2f5d7e43 (patch)
treea7d116f1ca13c93c71672d54badc50c1dc80180b /drivers/mxc
parente8bd78d46608774d9de81a957213f84a178e94f4 (diff)
MA-18037 [#imx-2356] import vfs namespace to fix GPU module load errors
GPU galcore build as module will meet below error when do insmod with latest android aosp 5.4 kernel. Fix below module load errors: galcore: module uses symbol (kernel_write) from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it. galcore: Unknown symbol kernel_write (err -22) Signed-off-by: Richard Liu <xuegang.liu@nxp.com> (cherry picked from commit 317ad82b310f740c436bdca2e73c556ac67041f6)
Diffstat (limited to 'drivers/mxc')
-rw-r--r--drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c
index 5b0ae81533ca..3a0897981b6e 100644
--- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c
+++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c
@@ -68,6 +68,7 @@
MODULE_DESCRIPTION("Vivante Graphics Driver");
MODULE_LICENSE("Dual MIT/GPL");
+MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
static struct class* gpuClass = NULL;