summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2016-06-03 12:15:00 -0700
committerOlof Johansson <olof@lixom.net>2016-06-03 12:15:00 -0700
commitc3d66602e0bb93c8070a02a901cc80963b5482b9 (patch)
tree09f02c7de834207a36b29ca940303300074dd7a1 /arch/arm/plat-samsung
parent15b7cc78f0951e418c940d8b3b6a7a3b962b7748 (diff)
parent8a6f71ccb6c39ca5ae442d1478d3a076e2b1361e (diff)
downloadlinux-stable-c3d66602e0bb93c8070a02a901cc80963b5482b9.tar.gz
linux-stable-c3d66602e0bb93c8070a02a901cc80963b5482b9.tar.bz2
linux-stable-c3d66602e0bb93c8070a02a901cc80963b5482b9.zip
Merge tag 'samsung-fixes-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into fixes
Two fixes for v4.7 cycle for build issues: 1. Fix samsung-keypad build error if INPUT is selected as module. The error though depends on some uncommon build settings so it is not as easy to trigger. 2. Get rid of 'samsung_device_dma_mask' defined but not used warning. * tag 'samsung-fixes-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: exynos: don't select keyboard driver ARM: samsung: improve static dma_mask definition Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r--arch/arm/plat-samsung/devs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c
index 84baa16f4c0b..e93aa6734147 100644
--- a/arch/arm/plat-samsung/devs.c
+++ b/arch/arm/plat-samsung/devs.c
@@ -68,7 +68,7 @@
#include <linux/platform_data/asoc-s3c.h>
#include <linux/platform_data/spi-s3c64xx.h>
-static u64 samsung_device_dma_mask = DMA_BIT_MASK(32);
+#define samsung_device_dma_mask (*((u64[]) { DMA_BIT_MASK(32) }))
/* AC97 */
#ifdef CONFIG_CPU_S3C2440