uhci.c:2986: warning: initialization discards qualifiers from pointer target type
The correct fix for this one is below and already sent
to Linus:
diff -u --recursive --new-file --exclude=CVS --exclude=.cvsignore vanilla/linux/include/linux/module.h linux/include/linux/module.h
--- vanilla/linux/include/linux/module.h Mon Nov 12 15:13:12 2001
+++ linux/include/linux/module.h Mon Nov 12 17:11:04 2001
@@ -317,7 +317,7 @@
* const, other exit data may be writable.
*/
#define MODULE_GENERIC_TABLE(gtype,name) \
-static struct gtype##_id * __module_##gtype##_table \
+static const struct gtype##_id * __module_##gtype##_table \
__attribute__ ((unused, __section__(".data.exit"))) = name
#ifndef __GENKSYMS__
-
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/