summaryrefslogtreecommitdiff
path: root/drivers/mxc
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2019-06-10 10:52:38 +0300
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-02-12 11:05:59 +0100
commit44ee350d0aa5625219b3153d6f838d05133c13c9 (patch)
tree659605c725b2be6bd4960e1048073914ee8b0611 /drivers/mxc
parenteb6953a8d5f1bfe95b4f9ca9e422857b25bbc9c4 (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/mxc')
-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.