From: Michael Benedict Date: Thu, 25 Apr 2019 15:12:44 +0000 (+1000) Subject: cal-if: disable sizeof-pointer-div warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4e838964e8f9ef10e7415e1e4c92738dd3ccb74;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git cal-if: disable sizeof-pointer-div warnings Signed-off-by: Michael Benedict --- diff --git a/drivers/soc/samsung/cal-if/Makefile b/drivers/soc/samsung/cal-if/Makefile index 7f72a5d36405..b7ea7c410d68 100644 --- a/drivers/soc/samsung/cal-if/Makefile +++ b/drivers/soc/samsung/cal-if/Makefile @@ -4,7 +4,7 @@ # Object files in subdirectories -obj-y += cal-if.o +obj-y += cal-if.o obj-$(CONFIG_PMUCAL) += pmucal_system.o pmucal_local.o pmucal_cpu.o pmucal_rae.o obj-$(CONFIG_CMUCAL) += cmucal.o ra.o vclk.o pll_spec.o obj-$(CONFIG_CMUCAL_DEBUG) += cmucal-debug.o @@ -12,6 +12,8 @@ obj-$(CONFIG_ACPM_DVFS) += acpm_dvfs.o fvmap.o ifndef CONFIG_SOC_EMULATOR8895 obj-$(CONFIG_SOC_EXYNOS8895) += exynos8895/cal_data.o +# not gonna even bother with this +ccflags-y += $(call cc-disable-warning, sizeof-pointer-div) else obj-$(CONFIG_SOC_EMULATOR8895) += emulator8895/cal_data.o endif