[alsa-devel] [PATCH 1/3 v4] ALSA: usb-audio: Move mutex define to more general location

Clemens Ladisch clemens at ladisch.de
Mon Nov 10 10:47:57 CET 2014


Damien Zammit wrote:
> Allow quirks to lock/unlock the usb audio register mutex by moving
> its definition to usbaudio.h
>
> +++ b/sound/usb/usbaudio.h
>
> +static DEFINE_MUTEX(register_mutex);

This does not work in a header file.


Regards,
Clemens


More information about the Alsa-devel mailing list