diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-12-19 12:32:53 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-12-19 12:49:11 +0100 |
commit | 4cfea3c1f2718d945ca44c1aaac47d8d513c4478 (patch) | |
tree | 8dc309bb145bd575e8ba06566a8d00ee11dc8e64 /drivers/gpu/ipu-v3/ipu-cpmem.c | |
parent | 37aca51b08ca48df4212cbb2137197d4737b8585 (diff) | |
download | linux-4cfea3c1f2718d945ca44c1aaac47d8d513c4478.tar.bz2 |
gpu: ipu-v3: allow to build with COMPILE_TEST
Add missing include <linux/sizes.h> in ipu-cpmem and ipu-ic, select
BITREVERSE for ipu-cpmem and GENERIC_ALLOCATOR for ipu-pre, and allow
to build if COMPILE_TEST is enabled.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/ipu-v3/ipu-cpmem.c')
-rw-r--r-- | drivers/gpu/ipu-v3/ipu-cpmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/ipu-v3/ipu-cpmem.c b/drivers/gpu/ipu-v3/ipu-cpmem.c index 1cb82f445f91..bb9c087e6c0d 100644 --- a/drivers/gpu/ipu-v3/ipu-cpmem.c +++ b/drivers/gpu/ipu-v3/ipu-cpmem.c @@ -12,6 +12,7 @@ #include <linux/types.h> #include <linux/bitrev.h> #include <linux/io.h> +#include <linux/sizes.h> #include <drm/drm_fourcc.h> #include "ipu-prv.h" |