1
linux/drivers/media
Anatolij Gustschin e69e34e9d9 V4L/DVB: v4l: fsl-viu.c: add slab.h include to fix compile breakage
mpc512x kernel configurations without SPI support do not build:

drivers/media/video/fsl-viu.c: In function 'viu_open':
drivers/media/video/fsl-viu.c:1248: error: implicit declaration of function 'kzalloc'
drivers/media/video/fsl-viu.c:1248: warning: assignment makes pointer from integer without a cast
drivers/media/video/fsl-viu.c: In function 'viu_release':
drivers/media/video/fsl-viu.c:1335: error: implicit declaration of function 'kfree'

If CONFIG_SPI is enabled, the slab.h will be included in
linux/spi/spi.h which is included by media/v4l2-common.h
and the fsl_viu.c driver builds.

Let's incluce linux/slab.h directly to fix the build breakage.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-10-21 01:06:12 -02:00
..
common V4L/DVB: saa7146/tuner: remove mxb hack 2010-10-21 01:06:05 -02:00
dvb V4L/DVB: dvb/bt8xx: kill the big kernel lock 2010-10-21 01:06:12 -02:00
IR V4L/DVB: IR/lirc_dev: check for valid irctl in unregister path 2010-10-21 01:06:08 -02:00
radio V4L/DVB: v4l: remove unused i2c-id.h headers 2010-10-21 01:06:05 -02:00
video V4L/DVB: v4l: fsl-viu.c: add slab.h include to fix compile breakage 2010-10-21 01:06:12 -02:00
Kconfig V4L/DVB (13612): IR: Move common IR code to drivers/media/IR 2009-12-16 00:18:42 -02:00
Makefile V4L/DVB (13612): IR: Move common IR code to drivers/media/IR 2009-12-16 00:18:42 -02:00