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-11-14 18:45:43 -08:00
2007-11-26 21:21:49 +01:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-11-14 18:45:37 -08:00
2007-10-18 14:37:24 -07:00
2007-12-05 09:21:18 -08:00
2007-10-18 14:37:26 -07:00
2006-12-07 08:39:36 -08:00
2007-10-19 11:53:49 -07:00
2007-07-16 09:05:50 -07:00
2007-10-16 09:43:10 -07:00
2006-12-04 02:00:22 -05:00
2007-11-19 11:20:43 +11:00
2007-10-11 22:11:12 +02:00
2007-10-19 11:53:34 -07:00
2007-12-20 15:01:17 +01:00
2007-11-14 18:45:43 -08:00
2007-10-18 14:37:24 -07:00
2007-07-16 09:05:49 -07:00
2007-07-16 09:05:50 -07:00
2007-12-17 19:28:17 -08:00
2007-10-18 14:37:24 -07:00
2007-12-18 18:05:58 +01:00
2007-05-09 08:57:56 +02:00