diff options
-rw-r--r-- | linux/drivers/media/video/cpia2/cpia2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cpia2/cpia2.h b/linux/drivers/media/video/cpia2/cpia2.h index 9c4d31c42..a53056c82 100644 --- a/linux/drivers/media/video/cpia2/cpia2.h +++ b/linux/drivers/media/video/cpia2/cpia2.h @@ -383,7 +383,11 @@ struct cpia2_fh { struct camera_data { /* locks */ +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) struct mutex busy_lock; /* guard against SMP multithreading */ +#else + struct semaphore busy_lock; +#endif struct v4l2_prio_state prio; /* camera status */ |