ALSA: emu10k1: added EMU10K1 version of DECLARE_BITMAP macro for UAPI
authorMikko Rapeli <mikko.rapeli@iki.fi>
Thu, 15 Oct 2015 05:55:55 +0000 (07:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 15 Oct 2015 08:02:26 +0000 (10:02 +0200)
commita82d24f83de2c63199acead488259fcdf947e90e
tree1edc00881e781763c99327bd4cab9bfcd751dd13
parent5a1f8c42259a424cfd262185da872764dcc673ad
ALSA: emu10k1: added EMU10K1 version of DECLARE_BITMAP macro for UAPI

Fixes userspace compilation error:

error: expected specifier-qualifier-list before ‘DECLARE_BITMAP’
  DECLARE_BITMAP(gpr_valid, 0x200); /* bitmask of valid initializers */

DECLARE_BITMAP macro is not meant for userspace headers and thus
added here as private copy for emu10k.h.

Fix was suggested by Arnd Bergmann <arnd@arndb.de> in message
<2168807.4Yxh5gl11Q@wuerfel> and Takashi Iwai <tiwai@suse.de>
in message <s5h1thx88tk.wl-tiwai@suse.de> on lkml.

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/emu10k1.h