I compiled 2.6.18-rc7 and I fixed all the warnings I saw.
The patch is attached.
The change I'm not so sure about is the __init additions in ACPI. It
fixes the warnings, but someone who knows better should check it.
Cheers.
--
Felipe Contreras