summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2019-06-10 10:52:38 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2019-07-09 09:50:45 +0300
commitf51f2fa49a113d10103315cd311dd19c31c04fe7 (patch)
treeca2011550657511fa7506d495c440f9922bbcd56 /drivers
parent20fd8ac46c84c2d6210bf2b13a7b2a915de07d8a (diff)
mxc: hantro: Kconfig: add COMPAT dependancy
Building hantro_845_h1 with undefined CONFIG_COMPAT leads to compillation error: drivers/mxc/hantro_845_h1/hx280enc.c: In function ‘hx280enc_ioctl32’: drivers/mxc/hantro_845_h1/hx280enc.c:460:23: error: implicit declaration of function ‘compat_ptr’; did you mean ‘compat_lr’? [-Werror=implicit-function-declaration] void __user *up = compat_ptr(arg); ^~~~~~~~~~ compat_lr This driver uses compat_ptr() so requires CONFIG_COMPAT to be selected. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'drivers')
-rwxr-xr-xdrivers/mxc/hantro_845_h1/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mxc/hantro_845_h1/Kconfig b/drivers/mxc/hantro_845_h1/Kconfig
index 65b21d92770c..ce1f578f9254 100755
--- a/drivers/mxc/hantro_845_h1/Kconfig
+++ b/drivers/mxc/hantro_845_h1/Kconfig
@@ -8,6 +8,7 @@ menu "MXC HANTRO(Video Processing Unit) encoder support"
config MXC_HANTRO_845_H1
tristate "Support for MXC HANTRO(Video Processing Unit) encoder"
default y
+ select COMPAT
---help---
VPU codec device.