Skip to contentSkip to conversation

move a bit more old stuff into alsa-driver

PATCH New Jeff Muizelaar 1 participant 1 message May 24, 2003

lore
Share & tools
lore
#0 lore raw

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
diff -u -r1.3 info.c
@@ -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
diff -u -r1.36 info.c
@@ -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