From: Jianqun Xu Date: Thu, 26 Nov 2015 01:49:10 +0000 (+0800) Subject: staging: ion: add to compile rockchip ion driver X-Git-Tag: firefly_0821_release~3582 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9bead5592c7906c5b9b3bfe50349a273479fd42b;p=firefly-linux-kernel-4.4.55.git staging: ion: add to compile rockchip ion driver Add to compile rockchip ion driver to support rockchip ion Change-Id: I3cb4f5a2110d6e0ec073eb6c48ee08796110188e Signed-off-by: Jianqun Xu --- diff --git a/drivers/staging/android/ion/Kconfig b/drivers/staging/android/ion/Kconfig index 345234624492..d35e49baba34 100644 --- a/drivers/staging/android/ion/Kconfig +++ b/drivers/staging/android/ion/Kconfig @@ -27,6 +27,12 @@ config ION_DUMMY one doesn't have access to hardware drivers that use ION. +config ION_ROCKCHIP + tristate "Ion for Rockchip" + depends on ARCH_ROCKCHIP && ION + help + Choose this option if you wish to use ion on an Rockchip. + config ION_TEGRA tristate "Ion for Tegra" depends on ARCH_TEGRA && ION diff --git a/drivers/staging/android/ion/Makefile b/drivers/staging/android/ion/Makefile index b56fd2bf2b4f..df1c16912674 100644 --- a/drivers/staging/android/ion/Makefile +++ b/drivers/staging/android/ion/Makefile @@ -6,5 +6,6 @@ obj-$(CONFIG_ION) += compat_ion.o endif obj-$(CONFIG_ION_DUMMY) += ion_dummy_driver.o +obj-$(CONFIG_ION_ROCKCHIP) += rockchip/ obj-$(CONFIG_ION_TEGRA) += tegra/