]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ctxfi - Clean up / optimize
authorTakashi Iwai <tiwai@suse.de>
Fri, 5 Jun 2009 14:34:10 +0000 (16:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jun 2009 14:44:24 +0000 (16:44 +0200)
commit94ede9692240aab85b4e2676272fe85db65a64fa
treeef95d02a3b468132f83f0a63077b4f33d3cff2a7
parent99cd589c4616cfca8ad257499e300c05d148b053
ALSA: ctxfi - Clean up / optimize

- Use static tables instead of assigining each funciton pointer
- Add __devinit* to appropriate places; pcm, mixer and timer cannot be
  marked because they are kept in the function table that lives long
- Move create_alsa_devs function out of struct ct_atc to mark it
  __devinit

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctatc.c
sound/pci/ctxfi/ctatc.h
sound/pci/ctxfi/cthardware.c
sound/pci/ctxfi/cthw20k1.c
sound/pci/ctxfi/cthw20k2.c
sound/pci/ctxfi/xfi.c