]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] CONFIG_PM=n slim: sound/oss/cs46xx.c
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 29 Sep 2006 09:00:18 +0000 (02:00 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:13 +0000 (09:18 -0700)
commit99f932f02627b211f7efa9602ddc389d1ccbed2b
tree3c06304b982117a0e81f3c116664d39ac72f93c2
parentaadcc2eef70640302805a6bb8c0f2a485779eea3
[PATCH] CONFIG_PM=n slim: sound/oss/cs46xx.c

Remove some code which is unneeded if CONFIG_PM=n.

* Make suspend/resume registration look like the rest of drivers:
  #ifdef CONFIG_PM in struct pci_driver, prototypes, actual hooks.
* Drop CS46XX_ACPI_SUPPORT. It logically duplicated CONFIG_PM. It was
  hardcoded to 1 approx forever (ALSA merge just moved driver to
  sound/oss/).
* After previous point, sound/oss/cs46xxpm-24.h removed as being useless.
* As side effect selling (unused) static inline functions as suspend/resume
  hooks funkiness removed too.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/oss/cs46xx.c
sound/oss/cs46xxpm-24.h [deleted file]