[media] media: pms.c needs linux/slab.h
authorRandy Dunlap <rdunlap@xenotime.net>
Thu, 21 Jun 2012 00:30:30 +0000 (21:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Jun 2012 13:41:56 +0000 (10:41 -0300)
commitb6a509df59c6abd0a2177e3be29642207711145d
treec7d8ebfc336adeab9c460a97ded235c50886efbb
parentce7d16a1752accbff1ff7c813594aad0b7168563
[media] media: pms.c needs linux/slab.h

drivers/media/video/pms.c uses kzalloc() and kfree() so it should
include <linux/slab.h> to fix build errors and a warning.

drivers/media/video/pms.c:1047:2: error: implicit declaration of function 'kzalloc'
drivers/media/video/pms.c:1047:6: warning: assignment makes pointer from integer without a cast
drivers/media/video/pms.c:1116:2: error: implicit declaration of function 'kfree'

Found in mmotm but applies to mainline.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pms.c