diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-05-25 11:25:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-06-27 09:50:50 -0400 |
commit | 3c46ab9d37e542dd28ee27ee31defe5f8b5e466c (patch) | |
tree | 1cca394f7682cab088e4b3c171a2a757806edfb6 /drivers/media/platform/vimc | |
parent | 17121d12a5c1089bdfce429bc6f7ae2c25d9d25d (diff) | |
download | linux-3c46ab9d37e542dd28ee27ee31defe5f8b5e466c.tar.bz2 |
media: v4l: cadence: include linux/slab.h
I ran into a randconfig build error with the new driver:
drivers/media/platform/cadence/cdns-csi2tx.c: In function 'csi2tx_probe':
drivers/media/platform/cadence/cdns-csi2tx.c:477:11: error: implicit declaration of function 'kzalloc'; did you mean 'd_alloc'? [-Werror=implicit-function-declaration]
kzalloc() is declared in linux/slab.h, so let's include this to make it
build in all configurations.
Fixes: 84b477e6d4bc ("media: v4l: cadence: Add Cadence MIPI-CSI2 TX driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vimc')
0 files changed, 0 insertions, 0 deletions