]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: lx6464es: Fix duplicated SSID entries
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 May 2015 10:52:54 +0000 (12:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 May 2015 11:00:00 +0000 (13:00 +0200)
commit8a52ce261be8e54623933ed939993ed2af35f737
tree98fc3e23a3ef2191f259cb64bdac97dad4460d1b
parent5bdba0c9cc6cf5b8f7869357ce7c5c707bbce451
ALSA: lx6464es: Fix duplicated SSID entries

PCI_DEVICE() macro itself defines SSID entries while we override them
after that.  Replace with a more appropriate macro, PCI_DEVICE_SUB()
to define all ID values properly.

Spotted by sparse:
  sound/pci/lx6464es/lx6464es.c:60:11: warning: Initializer entry defined twice
  sound/pci/lx6464es/lx6464es.c:61:12:   also defined here
  sound/pci/lx6464es/lx6464es.c:64:11: warning: Initializer entry defined twice
  sound/pci/lx6464es/lx6464es.c:65:12:   also defined here

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/lx6464es/lx6464es.c