David S. Miller fb445ee5f9 [SERIAL]: Fix section mismatches in Sun serial console drivers.
We're exporting an __init function, oops :-)

The core issue here is that add_preferred_console() is marked
as __init, this makes it impossible to invoke this thing from
a driver probe routine which is what the Sparc serial drivers
need to do.

There is no harm in dropping the __init marker.  This code will
actually work properly when invoked from a modular driver,
except that init will probably not pick up the console change
without some other support code.

Then we can drop the __init from sunserial_console_match()
and we're no longer exporting an __init function to modules.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-12-29 01:19:49 -08:00
..
2007-10-17 08:42:52 -07:00
2006-12-08 08:28:57 -08:00
2007-10-19 11:53:42 -07:00
2007-10-10 16:47:58 +08:00
2006-12-08 08:28:57 -08:00
2007-11-14 18:45:46 -08:00
2007-11-14 18:45:46 -08:00
2006-12-07 08:39:41 -08:00
2007-11-29 09:24:53 -08:00
2007-07-18 08:38:22 -07:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2007-02-14 08:09:52 -08:00
2006-12-08 08:28:57 -08:00
2007-09-11 17:21:19 -07:00
2007-11-07 14:54:32 +09:00
2006-12-08 08:28:57 -08:00
2007-07-18 08:38:22 -07:00
2007-07-18 08:38:22 -07:00