X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=sound%2Fdrivers%2Fopl4%2Fopl4_local.h;fp=sound%2Fdrivers%2Fopl4%2Fopl4_local.h;h=9a41bdebce6b465415dcf7ae3895281231b99493;hb=4570a37169d4b44d316f40b2ccc681dc93fedc7b;hp=470e5a758a0236d4c1604daeb2645fa23a328f83;hpb=f7b08217c755e88a29b5bd53b4a1d10cd8b3c5f8;p=uclinux-h8%2Flinux.git diff --git a/sound/drivers/opl4/opl4_local.h b/sound/drivers/opl4/opl4_local.h index 470e5a758a02..9a41bdebce6b 100644 --- a/sound/drivers/opl4/opl4_local.h +++ b/sound/drivers/opl4/opl4_local.h @@ -178,7 +178,7 @@ struct snd_opl4 { spinlock_t reg_lock; struct snd_card *card; -#ifdef CONFIG_PROC_FS +#ifdef CONFIG_SND_PROC_FS struct snd_info_entry *proc_entry; int memory_access; #endif @@ -207,10 +207,13 @@ void snd_opl4_write_memory(struct snd_opl4 *opl4, const char *buf, int offset, i /* opl4_mixer.c */ int snd_opl4_create_mixer(struct snd_opl4 *opl4); -#ifdef CONFIG_PROC_FS +#ifdef CONFIG_SND_PROC_FS /* opl4_proc.c */ int snd_opl4_create_proc(struct snd_opl4 *opl4); void snd_opl4_free_proc(struct snd_opl4 *opl4); +#else +static inline int snd_opl4_create_proc(struct snd_opl4 *opl4) { return 0; } +static inline void snd_opl4_free_proc(struct snd_opl4 *opl4) {} #endif /* opl4_seq.c */