cal-if: disable sizeof-pointer-div warnings
authorMichael Benedict <michaelbt@live.com>
Thu, 25 Apr 2019 15:12:44 +0000 (01:12 +1000)
committerMichael Benedict <michaelbt@live.com>
Sat, 31 Aug 2019 15:08:55 +0000 (01:08 +1000)
Signed-off-by: Michael Benedict <michaelbt@live.com>
drivers/soc/samsung/cal-if/Makefile

index 7f72a5d364056d02e784612dcd6752101ee2ef0d..b7ea7c410d6848ffa6dff49600198bc03d19c2e3 100644 (file)
@@ -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