2010-11-18 11:15:01

by Youquan Song

[permalink] [raw]
Subject: [PATCH] Fix build failure at cx25821-video driver

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 <[email protected]>
---


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>