Re: [2.3.99-pre7-3] via-rhine section type conflict

From: Jeff Garzik (
Date: Wed May 03 2000 - 16:46:58 EST

William Cordis wrote:
> /* These identify the driver base version and may not be removed. */
> static const char version1[] __devinitdata =
> "via-rhine.c:v1.05-LK1.1.5 5/2/2000 Written by Donald Becker\n";
> static const char version2[] __devinitdata =
> "\n";
> [end snip]
> Removing the const from these two declarations allows the file to compile.
> this fits the explanition in
> about another instance of problem. I don't think its the final answer but it
> works thus far (now to fix the vmscan.c deal).

Those who don't remember history are doomed to repeat it. :/ I even
fixed this problem in another driver.

The __{dev}initdata sections are rw not ro, so you cannot put const data
in them. Thanks for pointing this out William.


Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:13 EST