move a bit more old stuff into alsa-driver
PATCH 1/1 move a bit more old stuff into alsa-driver
The attached patches move snd_info_entry_inode_operations out of alsa-kernel/core/info.c into alsa-driver/acore/info.c
-Jeff
Index: acore/info.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/info.c,v retrieving revision 1.3
info.c +6 -0
@@ -88,6 +88,12 @@ proc_unregister(parent, de->low_ino); } } + +static struct inode_operations snd_info_entry_inode_operations = +{ + &snd_info_entry_operations,/* default sound info directory file-ops */ +}; +#endif /* LINUX_VERSION_CODE < 2.4.0 */ #include "../alsa-kernel/core/info.c"
Index: core/info.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/info.c,v
retrieving revision 1.36
info.c +0 -7
@@ -508,13 +508,6 @@ .release = snd_info_entry_release, }; -#ifdef LINUX_2_2 -static struct inode_operations snd_info_entry_inode_operations = -{ - &snd_info_entry_operations,/* default sound info directory file-ops */ -}; -#endif /* LINUX_2_2 */ -/** * snd_create_proc_entry - create a procfs entry * @name: the name of the proc file