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>