Skip to contentSkip to conversation

Fix build failure at cx25821-video driver

PATCH New Youquan Song 1 participant 1 message Nov 18, 2010 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---

drivers/staging/cx25821/cx25821.h +1 -0
index acfd017..c940001 100644
@@ -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>