[PATCH] sysfs: compile fix for fs/sysfs/mount.c

From: Dominik Brodowski (linux@brodo.de)
Date: Tue Mar 04 2003 - 02:44:39 EST


sysfs_init is __init, but without a declaration of that gcc 3.2. tends to
start screaming.

        Dominik

diff -ruN linux-original/fs/sysfs/mount.c linux/fs/sysfs/mount.c
--- linux-original/fs/sysfs/mount.c 2003-03-04 08:27:10.000000000 +0100
+++ linux/fs/sysfs/mount.c 2003-03-04 08:32:13.000000000 +0100
@@ -7,6 +7,7 @@
 #include <linux/fs.h>
 #include <linux/mount.h>
 #include <linux/pagemap.h>
+#include <linux/init.h>
 
 #include "sysfs.h"
 
-
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 : Fri Mar 07 2003 - 22:00:24 EST