Commit 285d1539 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] buslogic initsection fix

From: Bob Doyle <doyle@primenet.com>

BusLogic_UnregisterHostAdapter() is referenced from __exit code, so it cannot
be __init.
parent a78fd404
...@@ -189,7 +189,7 @@ static void __init BusLogic_RegisterHostAdapter(struct BusLogic_HostAdapter *Hos ...@@ -189,7 +189,7 @@ static void __init BusLogic_RegisterHostAdapter(struct BusLogic_HostAdapter *Hos
registered BusLogic Host Adapters. registered BusLogic Host Adapters.
*/ */
static void __init BusLogic_UnregisterHostAdapter(struct BusLogic_HostAdapter *HostAdapter) static void BusLogic_UnregisterHostAdapter(struct BusLogic_HostAdapter *HostAdapter)
{ {
if (HostAdapter == BusLogic_FirstRegisteredHostAdapter) if (HostAdapter == BusLogic_FirstRegisteredHostAdapter)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment