[media] coda: coda-bit: Include "<linux/slab.h>"
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 19 Sep 2014 11:32:30 +0000 (08:32 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 19:43:28 +0000 (16:43 -0300)
commitc0aaf696d45e2a72048a56441e81dad78659c698
tree8e163c98eee30109a20535f15b0c51935fb6d2ca
parent976bcb2f6f9c9fb11f0aad7b7c87953e9c3f0116
[media] coda: coda-bit: Include "<linux/slab.h>"

coda-bit uses kmalloc/kfree functions, so the slab header needs to be included
in order to fix the following build errors:

drivers/media/platform/coda/coda-bit.c: In function 'coda_fill_bitstream':
drivers/media/platform/coda/coda-bit.c:231:4: error: implicit declaration of function 'kmalloc' [-Werror=implicit-function-declaration]
drivers/media/platform/coda/coda-bit.c: In function 'coda_alloc_framebuffers':
drivers/media/platform/coda/coda-bit.c:312:3: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-bit.c