]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit2a36f67f8c81f0babda0e811c760b7bfa971010b
treeef95d02a3b468132f83f0a63077b4f33d3cff2a7
parent775ffa1d3e5a550dd2c9d947d773021c61531b36
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