[PATCH] fix devfs_register_tape stub

Christoph Hellwig (hch@lst.de)
Tue, 29 Apr 2003 15:42:36 +0200


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/