summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2012-06-09 20:00:19 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-18 20:22:27 -0300
commit4d146ad7388a9cca2a890d7449aeb767565068d7 (patch)
tree962c6e87f377204ce8dfc39ed845f82524cbcd0b /drivers/media
parent099987f0aaf28771261b91a41240b9228f2e32b2 (diff)
[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 <fengguang.wu@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/pms.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/fs.h>
#include <linux/kernel.h>
#include <linux/mm.h>
+#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/mutex.h>