diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-29 17:21:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-29 17:21:57 -0500 |
commit | f747307ed1defcdfd37a3ef84c48e3138691cd26 (patch) | |
tree | 137e2fe4178b0ca77005a92f208a6a1f2055ef37 /drivers/message | |
parent | 325f04dbca60a4cfe4ac25e7cf246edd07eb4c5f (diff) |
Revert "[PATCH] drivers/message/fusion/mptbase.c: make code static"
This reverts commit 252ac865535e1ea9cc2d28be83f477d8d8b961a2.
It impacts the LSI customers using the mptstm target mode drivers
(source tar-ball at
ftp://ftp.lsil.com/HostAdapterDrivers/linux/Fusion-MPT/mptstm-1.00.13-src.tar.gz
for those who care).
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/message')
-rw-r--r-- | drivers/message/fusion/mptbase.c | 6 | ||||
-rw-r--r-- | drivers/message/fusion/mptbase.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index 74022316fc63..65c2ec5c421b 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c | |||
@@ -91,9 +91,9 @@ static int mfcounter = 0; | |||
91 | * Public data... | 91 | * Public data... |
92 | */ | 92 | */ |
93 | int mpt_lan_index = -1; | 93 | int mpt_lan_index = -1; |
94 | static int mpt_stm_index = -1; | 94 | int mpt_stm_index = -1; |
95 | 95 | ||
96 | static struct proc_dir_entry *mpt_proc_root_dir; | 96 | struct proc_dir_entry *mpt_proc_root_dir; |
97 | 97 | ||
98 | #define WHOINIT_UNKNOWN 0xAA | 98 | #define WHOINIT_UNKNOWN 0xAA |
99 | 99 | ||
@@ -6271,6 +6271,7 @@ EXPORT_SYMBOL(mpt_resume); | |||
6271 | EXPORT_SYMBOL(mpt_suspend); | 6271 | EXPORT_SYMBOL(mpt_suspend); |
6272 | #endif | 6272 | #endif |
6273 | EXPORT_SYMBOL(ioc_list); | 6273 | EXPORT_SYMBOL(ioc_list); |
6274 | EXPORT_SYMBOL(mpt_proc_root_dir); | ||
6274 | EXPORT_SYMBOL(mpt_register); | 6275 | EXPORT_SYMBOL(mpt_register); |
6275 | EXPORT_SYMBOL(mpt_deregister); | 6276 | EXPORT_SYMBOL(mpt_deregister); |
6276 | EXPORT_SYMBOL(mpt_event_register); | 6277 | EXPORT_SYMBOL(mpt_event_register); |
@@ -6288,6 +6289,7 @@ EXPORT_SYMBOL(mpt_verify_adapter); | |||
6288 | EXPORT_SYMBOL(mpt_GetIocState); | 6289 | EXPORT_SYMBOL(mpt_GetIocState); |
6289 | EXPORT_SYMBOL(mpt_print_ioc_summary); | 6290 | EXPORT_SYMBOL(mpt_print_ioc_summary); |
6290 | EXPORT_SYMBOL(mpt_lan_index); | 6291 | EXPORT_SYMBOL(mpt_lan_index); |
6292 | EXPORT_SYMBOL(mpt_stm_index); | ||
6291 | EXPORT_SYMBOL(mpt_HardResetHandler); | 6293 | EXPORT_SYMBOL(mpt_HardResetHandler); |
6292 | EXPORT_SYMBOL(mpt_config); | 6294 | EXPORT_SYMBOL(mpt_config); |
6293 | EXPORT_SYMBOL(mpt_toolbox); | 6295 | EXPORT_SYMBOL(mpt_toolbox); |
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index 8ad277a9afa1..5f5b3fb5b4d7 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -1006,8 +1006,10 @@ extern int mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode); | |||
1006 | * Public data decl's... | 1006 | * Public data decl's... |
1007 | */ | 1007 | */ |
1008 | extern struct list_head ioc_list; | 1008 | extern struct list_head ioc_list; |
1009 | extern struct proc_dir_entry *mpt_proc_root_dir; | ||
1009 | 1010 | ||
1010 | extern int mpt_lan_index; /* needed by mptlan.c */ | 1011 | extern int mpt_lan_index; /* needed by mptlan.c */ |
1012 | extern int mpt_stm_index; /* needed by mptstm.c */ | ||
1011 | 1013 | ||
1012 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1014 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
1013 | #endif /* } __KERNEL__ */ | 1015 | #endif /* } __KERNEL__ */ |