[PATCH] V4L: Events: Include slab.h explicitly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After commit ID:

  commit de380b55f92986c1a84198149cb71b7228d15fbd
  Author: Tejun Heo <tj@xxxxxxxxxx>
  Date:   Wed Mar 24 17:06:43 2010 +0900

      percpu: don't implicitly include slab.h from percpu.h

slab.h include was not longer implicitly included with sched.h.

So, now we have to include slab.h explicitly.

Signed-off-by: Sergio Aguirre <saaguirre@xxxxxx>
---
 drivers/media/video/v4l2-event.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/v4l2-event.c b/drivers/media/video/v4l2-event.c
index aea4332..7f31cd2 100644
--- a/drivers/media/video/v4l2-event.c
+++ b/drivers/media/video/v4l2-event.c
@@ -26,6 +26,7 @@
 #include <media/v4l2-fh.h>
 #include <media/v4l2-event.h>
 
+#include <linux/slab.h>
 #include <linux/sched.h>
 
 int v4l2_event_init(struct v4l2_fh *fh)
-- 
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux