From f9fc14a8465ac4eb988dafb41582325d2bbb0b33 Mon Sep 17 00:00:00 2001 From: ayaka Date: Mon, 16 Jan 2017 12:42:56 +0800 Subject: [PATCH] gpu: mali: allow midgard for linux build as a module In order to build a kernel for different platforms, the mali module should be load at boot time. Change-Id: I03144648cb3548c6916620bc73fdfa2b4dab98dd Signed-off-by: ayaka Signed-off-by: Randy Li --- drivers/gpu/arm/midgard_for_linux/Kbuild | 4 ---- drivers/gpu/arm/midgard_for_linux/backend/gpu/Kbuild | 4 ---- drivers/gpu/arm/midgard_for_linux/platform/rk/Kbuild | 4 ---- 3 files changed, 12 deletions(-) diff --git a/drivers/gpu/arm/midgard_for_linux/Kbuild b/drivers/gpu/arm/midgard_for_linux/Kbuild index 3c6d8ef78d74..6ba0374d20ab 100644 --- a/drivers/gpu/arm/midgard_for_linux/Kbuild +++ b/drivers/gpu/arm/midgard_for_linux/Kbuild @@ -11,10 +11,6 @@ # Boston, MA 02110-1301, USA. # # - -# add default config for RK Linux device for absence of Kconfig. -include drivers/gpu/arm/midgard_for_linux/default_config.mk - # Driver version string which is returned to userspace via an ioctl MALI_RELEASE_NAME ?= "r13p0-00rel0" diff --git a/drivers/gpu/arm/midgard_for_linux/backend/gpu/Kbuild b/drivers/gpu/arm/midgard_for_linux/backend/gpu/Kbuild index 52dac8dfb995..107783fbd5b1 100644 --- a/drivers/gpu/arm/midgard_for_linux/backend/gpu/Kbuild +++ b/drivers/gpu/arm/midgard_for_linux/backend/gpu/Kbuild @@ -11,10 +11,6 @@ # Boston, MA 02110-1301, USA. # # - -# add default config for RK Linux device for absence of Kconfig. -include drivers/gpu/arm/midgard_for_linux/default_config.mk - BACKEND += \ backend/gpu/mali_kbase_cache_policy_backend.c \ backend/gpu/mali_kbase_device_hw.c \ diff --git a/drivers/gpu/arm/midgard_for_linux/platform/rk/Kbuild b/drivers/gpu/arm/midgard_for_linux/platform/rk/Kbuild index d5e0cca6362c..9fe54cae2fd4 100755 --- a/drivers/gpu/arm/midgard_for_linux/platform/rk/Kbuild +++ b/drivers/gpu/arm/midgard_for_linux/platform/rk/Kbuild @@ -11,10 +11,6 @@ # Boston, MA 02110-1301, USA. # # - -# add default config for RK Linux device for absence of Kconfig. -include drivers/gpu/arm/midgard_for_linux/default_config.mk - ccflags-y += -I$(srctree)/drivers/staging/android ifeq ($(CONFIG_MALI_MIDGARD),y) -- 2.34.1