Russell King 2c39c9e149 ARM: Fix section build warnings for AMBA drivers
Found in the Versatile build:

WARNING: drivers/built-in.o(.data+0x14c): Section mismatch in reference from the variable pl061_gpio_driver to the (unknown reference) .init.data:(unknown)
The variable pl061_gpio_driver references
the (unknown reference) __initdata (unknown)

WARNING: drivers/built-in.o(.data+0x40f8): Section mismatch in reference from the variable pl011_driver to the (unknown reference) .init.data:(unknown)
The variable pl011_driver references
the (unknown reference) __initdata (unknown)

WARNING: drivers/built-in.o(.data+0x5ab4): Section mismatch in reference from the variable pl031_driver to the (unknown reference) .init.data:(unknown)
The variable pl031_driver references
the (unknown reference) __initdata (unknown)

Basically, amba_id structures must not be __initdata.  Also fix:

WARNING: drivers/built-in.o(.data+0x138): Section mismatch in reference from the variable pl061_gpio_driver to the function .init.text:pl061_probe()
The variable pl061_gpio_driver references
the function __init pl061_probe()

which is an incorrectly annotated probe function.  Fix it to reflect
the other AMBA bus probe functions by removing the __init attributation.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-07-27 10:48:43 +01:00
..
2009-09-19 13:13:19 -07:00
2009-09-19 13:13:28 -07:00
2009-08-31 18:38:16 +02:00
2009-09-19 13:13:28 -07:00
2010-05-21 09:34:30 -07:00
2009-09-19 13:13:28 -07:00
2010-04-21 14:56:00 +10:00
2010-06-04 13:37:16 -07:00
2010-06-04 13:37:16 -07:00
2009-09-19 13:13:28 -07:00
2010-02-27 18:31:02 +01:00
2009-09-19 13:13:28 -07:00
2010-05-22 17:06:34 +09:00
2009-09-19 13:13:28 -07:00