diff options
author | David S. Miller <davem@davemloft.net> | 2007-12-29 01:19:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-12-29 01:19:49 -0800 |
commit | fb445ee5f9bfc7cbef9e397556170c608dc02955 (patch) | |
tree | b1a478362ad1a147c4d2c06ef79f77225953ce99 /fs/cifs/CHANGES | |
parent | 1842c7f260dd24dad2dd8eded80904d7a6c5525f (diff) |
[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>
Diffstat (limited to 'fs/cifs/CHANGES')
0 files changed, 0 insertions, 0 deletions