From: Fengguang Wu Date: Sat, 9 Jun 2012 23:00:19 +0000 (-0300) Subject: [media] pms: fix build error in pms_probe() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4d146ad7388a9cca2a890d7449aeb767565068d7;p=openwrt%2Fstaging%2Fblogic.git [media] pms: fix build error in pms_probe() Fix a compiler breakage introduced by commit 8173090acb33: drivers/media/video/pms.c: In function ‘pms_probe’: drivers/media/video/pms.c:1047:2: error: implicit declaration of function ‘kzalloc’ [-Werror=implicit-function-declaration] drivers/media/video/pms.c:1116:2: error: implicit declaration of function ‘kfree’ [-Werror=implicit-function-declaration] Signed-off-by: Fengguang Wu Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/pms.c b/drivers/media/video/pms.c index af2d9086d7e8..77f9c92186f4 100644 --- a/drivers/media/video/pms.c +++ b/drivers/media/video/pms.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include