[PATCH] Fix build failure at cx25821-video driver

From: Youquan Song
Date: Thu Nov 18 2010 - 06:15:07 EST


Kernel build fail for cx25821-video has depends on smp_lock.h header file, but
the dependency is removed in recent commit 451a3c24b013

This patch recover the dependency

Signed-off-by: Youquan Song <youquan.song@xxxxxxxxx>
---


diff --git a/drivers/staging/cx25821/cx25821.h b/drivers/staging/cx25821/cx25821.h
index acfd017..c940001 100644
--- a/drivers/staging/cx25821/cx25821.h
+++ b/drivers/staging/cx25821/cx25821.h
@@ -31,6 +31,7 @@
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/kdev_t.h>
+#include <linux/smp_lock.h>

#include <media/v4l2-common.h>
#include <media/v4l2-device.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/