lkml.org 
[lkml]   [2010]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 <youquan.song@intel.com>
---


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>

\
 
 \ /
  Last update: 2010-11-18 12:17    [W:0.028 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site