On Sat, Feb 02, 2008 at 11:20:44PM +0800, Peter Teoh wrote:
Only very recently we had a tag to annotate const data in addition
to the __initdata tag.
The reason for two tags are that gcc does not allow to mix const
and non-const data in the same section.
So in the cases you list below there are most certainly no other
__initdata annotations or at least not to non-const data.
If you go forward and fix up this stuff do so in adequate steps.
So you for example do not mix net drivers with usb drivers
in the same patch.
And if fix it up then use the recommended style for the
annotation.
Improved documentation in init.h is also welcome!
Sam
--