On Wed, 3 May 2000, Jeff Garzik wrote:
> The __{dev}initdata sections are rw not ro, so you cannot put const data
> in them. Thanks for pointing this out William.
pre6 has:
static const char *versionA __devinitdata =
"via-rhine.c:v1.03a-LK1.1.4 3/28/2000 Written by Donald Becker\n";
static const char *versionB __devinitdata =
" http://cesdis.gsfc.nasa.gov/linux/drivers/via-rhine.html\n";
Is that ok, or is it just older gcc's not checking this that make it
compile?
Beside the via-rhine, in pre7-3:
epic100.c, starfire.c has const version[] __devinitdata
3c59x.c has const *version __devinitdata
/Urban
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:13 EST