Commit 15424921 authored by Adrian Bunk's avatar Adrian Bunk Committed by James Bottomley

[SCSI] mpt fusion: make struct mpt_proc_root_dir static

This patch makes the needlessly global struct mpt_proc_root_dir static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatar"Prakash, Sathya" <Sathya.Prakash@lsi.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 427e59f0
...@@ -103,7 +103,7 @@ static int mfcounter = 0; ...@@ -103,7 +103,7 @@ static int mfcounter = 0;
* Public data... * Public data...
*/ */
struct proc_dir_entry *mpt_proc_root_dir; static struct proc_dir_entry *mpt_proc_root_dir;
#define WHOINIT_UNKNOWN 0xAA #define WHOINIT_UNKNOWN 0xAA
...@@ -7451,7 +7451,6 @@ EXPORT_SYMBOL(mpt_resume); ...@@ -7451,7 +7451,6 @@ EXPORT_SYMBOL(mpt_resume);
EXPORT_SYMBOL(mpt_suspend); EXPORT_SYMBOL(mpt_suspend);
#endif #endif
EXPORT_SYMBOL(ioc_list); EXPORT_SYMBOL(ioc_list);
EXPORT_SYMBOL(mpt_proc_root_dir);
EXPORT_SYMBOL(mpt_register); EXPORT_SYMBOL(mpt_register);
EXPORT_SYMBOL(mpt_deregister); EXPORT_SYMBOL(mpt_deregister);
EXPORT_SYMBOL(mpt_event_register); EXPORT_SYMBOL(mpt_event_register);
......
...@@ -919,7 +919,6 @@ extern int mpt_raid_phys_disk_pg0(MPT_ADAPTER *ioc, u8 phys_disk_num, pRaidPhys ...@@ -919,7 +919,6 @@ extern int mpt_raid_phys_disk_pg0(MPT_ADAPTER *ioc, u8 phys_disk_num, pRaidPhys
* Public data decl's... * Public data decl's...
*/ */
extern struct list_head ioc_list; extern struct list_head ioc_list;
extern struct proc_dir_entry *mpt_proc_root_dir;
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
#endif /* } __KERNEL__ */ #endif /* } __KERNEL__ */
......
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