diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2012-06-09 20:00:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-18 20:22:27 -0300 |
commit | 4d146ad7388a9cca2a890d7449aeb767565068d7 (patch) | |
tree | 962c6e87f377204ce8dfc39ed845f82524cbcd0b | |
parent | 099987f0aaf28771261b91a41240b9228f2e32b2 (diff) | |
download | blackbird-op-linux-4d146ad7388a9cca2a890d7449aeb767565068d7.tar.gz blackbird-op-linux-4d146ad7388a9cca2a890d7449aeb767565068d7.zip |
[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>
-rw-r--r-- | drivers/media/video/pms.c | 1 |
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> |