]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ALSA: cs4236 - Merge snd-cs4236-lib module into snd-cs4236
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 Feb 2009 07:10:54 +0000 (08:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Feb 2009 07:10:54 +0000 (08:10 +0100)
Since cs4232 and cs4236 drivers are merged, there is no reason to keep
snd-cs4236-lib module separately.  Let's merge it into the main driver
as well.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/cs423x/Makefile
sound/isa/cs423x/cs4236_lib.c

index 732f66cc036d7ff16ff4bc2a7870afeb605b764b..6d397e8d54acee86a40046d171a93d603f3e8972 100644 (file)
@@ -3,11 +3,11 @@
 # Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
 #
 
-snd-cs4236-lib-objs := cs4236_lib.o
 snd-cs4231-objs := cs4231.o
-snd-cs4236-objs := cs4236.o
+snd-cs4236-objs := cs4236.o cs4236_lib.o
 
 # Toplevel Module Dependency
 obj-$(CONFIG_SND_CS4231) += snd-cs4231.o
-obj-$(CONFIG_SND_CS4236) += snd-cs4236.o snd-cs4236-lib.o
+obj-$(CONFIG_SND_CS4236) += snd-cs4236.o
+
 
index 2406efdfd8dddbb71128ffe4fe77c8ffaea0dedf..38835f31298bfd85c2db009ee7d9070f905db672 100644 (file)
 #include <sound/wss.h>
 #include <sound/asoundef.h>
 
-MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>");
-MODULE_DESCRIPTION("Routines for control of CS4235/4236B/4237B/4238B/4239 chips");
-MODULE_LICENSE("GPL");
-
 /*
  *
  */
@@ -1022,23 +1018,3 @@ int snd_cs4236_mixer(struct snd_wss *chip)
        }
        return 0;
 }
-
-EXPORT_SYMBOL(snd_cs4236_create);
-EXPORT_SYMBOL(snd_cs4236_pcm);
-EXPORT_SYMBOL(snd_cs4236_mixer);
-
-/*
- *  INIT part
- */
-
-static int __init alsa_cs4236_init(void)
-{
-       return 0;
-}
-
-static void __exit alsa_cs4236_exit(void)
-{
-}
-
-module_init(alsa_cs4236_init)
-module_exit(alsa_cs4236_exit)