summaryrefslogtreecommitdiff
path: root/drivers/media/video/dmm
diff options
context:
space:
mode:
authorDavid Sin <davidsin@ti.com>2010-05-19 12:38:52 -0500
committerDavid Sin <davidsin@ti.com>2010-08-17 10:17:01 -0500
commit513f3a504144509e9a5efc710c7d8a12d8a57362 (patch)
treec93ba526ec143227c184d11e16e5b9377a49873c /drivers/media/video/dmm
parent028b4daa8d90b7829091d5897c8e0325f4bcbaca (diff)
TILER: Include slab header for kmalloc/kfree calls
slab.h needs to be included in the sources when using kmalloc and kfree for 2.6.34 Signed-off-by: David Sin <davidsin@ti.com>
Diffstat (limited to 'drivers/media/video/dmm')
-rw-r--r--drivers/media/video/dmm/dmm.c1
-rw-r--r--drivers/media/video/dmm/tmm_pat.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/dmm/dmm.c b/drivers/media/video/dmm/dmm.c
index c8d9a03daea2..ae7111819f64 100644
--- a/drivers/media/video/dmm/dmm.c
+++ b/drivers/media/video/dmm/dmm.c
@@ -24,6 +24,7 @@
#include <linux/err.h> /* IS_ERR() */
#include <linux/io.h> /* ioremap() */
#include <linux/errno.h>
+#include <linux/slab.h>
#include <mach/dmm.h>
diff --git a/drivers/media/video/dmm/tmm_pat.c b/drivers/media/video/dmm/tmm_pat.c
index 7de2cb480ba3..5b5053a83c1f 100644
--- a/drivers/media/video/dmm/tmm_pat.c
+++ b/drivers/media/video/dmm/tmm_pat.c
@@ -20,6 +20,7 @@
#include <asm/cacheflush.h>
#include <linux/mutex.h>
#include <linux/list.h>
+#include <linux/slab.h>
#include "tmm.h"