[PATCH] fix devfs_register_tape stub

From: Christoph Hellwig (hch@lst.de)
Date: Tue Apr 29 2003 - 08:42:36 EST


this fixes a harmless but annoying warning when compiling one of the
tape drivers without devfs.

--- 1.43/include/linux/devfs_fs_kernel.h Sun Apr 20 19:53:06 2003
+++ edited/include/linux/devfs_fs_kernel.h Fri Apr 25 15:21:07 2003
@@ -62,7 +70,7 @@
 static inline void devfs_remove(const char *fmt, ...)
 {
 }
-static inline int devfs_register_tape (devfs_handle_t de)
+static inline int devfs_register_tape (const char *name)
 {
     return -1;
 }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:31 EST