diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-05-29 07:49:55 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-05-29 07:49:55 +0200 |
commit | c43a55d5b1c51436730e2f769f1b90add800a6f1 (patch) | |
tree | 80b1ebf52552b68f932503f73997e615cd2b102c /sound/drivers/opl4/opl4_lib.c | |
parent | 129a4c9f829d3e2113ce4f2c67cd431b48b2abb7 (diff) | |
download | linux-stable-c43a55d5b1c51436730e2f769f1b90add800a6f1.tar.gz linux-stable-c43a55d5b1c51436730e2f769f1b90add800a6f1.tar.bz2 linux-stable-c43a55d5b1c51436730e2f769f1b90add800a6f1.zip |
ALSA: opl4: Fix / cleanup ifdef CONFIG_PROC_FS
Some are replaced with the new ifdef CONFIG_SND_PROC_FS. Some are
removed by building opl4_proc.o conditionally.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/opl4/opl4_lib.c')
-rw-r--r-- | sound/drivers/opl4/opl4_lib.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/drivers/opl4/opl4_lib.c b/sound/drivers/opl4/opl4_lib.c index 3b0ee42a5343..89c7aa04b3bc 100644 --- a/sound/drivers/opl4/opl4_lib.c +++ b/sound/drivers/opl4/opl4_lib.c @@ -176,9 +176,7 @@ static int snd_opl4_create_seq_dev(struct snd_opl4 *opl4, int seq_device) static void snd_opl4_free(struct snd_opl4 *opl4) { -#ifdef CONFIG_PROC_FS snd_opl4_free_proc(opl4); -#endif release_and_free_resource(opl4->res_fm_port); release_and_free_resource(opl4->res_pcm_port); kfree(opl4); @@ -249,9 +247,7 @@ int snd_opl4_create(struct snd_card *card, snd_opl4_enable_opl4(opl4); snd_opl4_create_mixer(opl4); -#ifdef CONFIG_PROC_FS snd_opl4_create_proc(opl4); -#endif #if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE)) opl4->seq_client = -1; |