msm: pil: Implement tzapps support as a platform driver
Create a platform driver to manage the tzapps support instead of
having a module that exists for any 8660 device. This allows us
to add platform devices when the configuration actually supports
it and have pil_get() fail otherwise.
Change-Id: I22707d8947ef360522edb1cd9ee6792cbd8fe797
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8930.c b/arch/arm/mach-msm/board-8930.c
index 6eba2f9..dfe0b45 100644
--- a/arch/arm/mach-msm/board-8930.c
+++ b/arch/arm/mach-msm/board-8930.c
@@ -1577,6 +1577,7 @@
&msm_8960_q6_mss_fw,
&msm_8960_q6_mss_sw,
&msm_8960_riva,
+ &msm_pil_tzapps,
&msm8960_device_qup_spi_gsbi1,
&msm8960_device_qup_i2c_gsbi3,
&msm8960_device_qup_i2c_gsbi4,