diff options
author | Mike Thomas <rmthomas@sciolus.org> | 2010-11-07 20:09:19 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-09 16:31:15 -0800 |
commit | ae59dad4fef271222d65ac6afe2889eb12ea6ca9 (patch) | |
tree | d0f5faa52d1ca75c5104d6c52699b5c72d588fbc /drivers/staging/easycap/Makefile | |
parent | 2a87a0b9220f8e0e6f204b0f61dc6e15ad64ccd4 (diff) |
staging/easycap: Eliminate BKL
No locking is required for normal operation of the driver, but locking
is needed to prevent an Oops during some hot-unplugging scenarios. The
BKL is replaced here by mutex locks together with traps to detect null
pointers following asynchronous device disconnection.
Signed-off-by: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/easycap/Makefile')
-rw-r--r-- | drivers/staging/easycap/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/easycap/Makefile b/drivers/staging/easycap/Makefile index 8a3d911aee5d..f1f2fbebf8f6 100644 --- a/drivers/staging/easycap/Makefile +++ b/drivers/staging/easycap/Makefile @@ -10,4 +10,5 @@ ccflags-y := -Wall ccflags-y += -DEASYCAP_IS_VIDEODEV_CLIENT ccflags-y += -DEASYCAP_NEEDS_V4L2_DEVICE_H ccflags-y += -DEASYCAP_NEEDS_V4L2_FOPS +ccflags-y += -DEASYCAP_NEEDS_UNLOCKED_IOCTL |