aboutsummaryrefslogtreecommitdiff
path: root/sound/isa/msnd/msnd.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-07-25 23:00:46 +0200
committerTakashi Iwai <tiwai@suse.de>2018-07-26 08:30:57 +0200
commitbd1cd0eb2ce9141100628d476ead4de485501b29 (patch)
treeb861415a5e2a6db8e66bf770862585f349bb9937 /sound/isa/msnd/msnd.h
parentb080dc5bd0dfc0b33c6cfc31f909c93d5e63c186 (diff)
ALSA: usb-audio: Fix multiple definitions in AU0828_DEVICE() macro
AU0828_DEVICE() macro in quirks-table.h uses USB_DEVICE_VENDOR_SPEC() for expanding idVendor and idProduct fields. However, the latter macro adds also match_flags and bInterfaceClass, which are different from the values AU0828_DEVICE() macro sets after that. For fixing them, just expand idVendor and idProduct fields manually in AU0828_DEVICE(). This fixes sparse warnings like: sound/usb/quirks-table.h:2892:1: warning: Initializer entry defined twice Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/msnd/msnd.h')
0 files changed, 0 insertions, 0 deletions