Sam Ravnborg ab17da5cb9 apbuart: fix section mismatch warning
Fix following warnings:

WARNING: drivers/tty/serial/built-in.o(.text+0x7370): Section mismatch in reference from the function grlib_apbuart_configure() to the variable .init.data:apbuart_match
The function grlib_apbuart_configure() references
the variable __initdata apbuart_match.
This is often because grlib_apbuart_configure lacks a __initdata
annotation or the annotation of apbuart_match is wrong.

+ 3 more warnings like this.

There is no guarantee that grlib_apbuart_of_driver.of_match_table
is only used at __init time - so drop the __initdata annotation.

grlib_apbuart_configure() is only used during __init so add __init
to this method too.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-27 16:33:13 -05:00
..
2011-08-26 11:38:46 -07:00
2011-09-22 16:08:57 -07:00
2011-09-22 16:08:57 -07:00
2011-09-22 15:49:26 -07:00
2011-09-22 16:08:57 -07:00
2011-02-17 11:16:15 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-09-22 16:08:57 -07:00
2011-11-15 12:13:42 -08:00
2011-09-22 16:08:57 -07:00
2011-08-26 11:01:15 -07:00
2011-09-22 15:47:53 -07:00
2011-09-22 16:08:57 -07:00
2011-09-22 16:08:57 -07:00
2011-03-31 11:26:23 -03:00
2011-09-22 15:49:26 -07:00