diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-21 17:31:51 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-06-05 10:27:12 -0400 |
commit | 15424921222f2bed0aa92ef1e8bc94f753d2c6ea (patch) | |
tree | c0a592d0c986d6ec03e8f9f0b47d9ed437e28970 /drivers/message | |
parent | 427e59f09fdba387547106de7bab980b7fff77be (diff) |
[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: Adrian Bunk <bunk@kernel.org>
Acked-by: "Prakash, Sathya" <Sathya.Prakash@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/message')
-rw-r--r-- | drivers/message/fusion/mptbase.c | 3 | ||||
-rw-r--r-- | drivers/message/fusion/mptbase.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index db3c892f87fb..74220a21cfea 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c | |||
@@ -103,7 +103,7 @@ static int mfcounter = 0; | |||
103 | * Public data... | 103 | * Public data... |
104 | */ | 104 | */ |
105 | 105 | ||
106 | struct proc_dir_entry *mpt_proc_root_dir; | 106 | static struct proc_dir_entry *mpt_proc_root_dir; |
107 | 107 | ||
108 | #define WHOINIT_UNKNOWN 0xAA | 108 | #define WHOINIT_UNKNOWN 0xAA |
109 | 109 | ||
@@ -7451,7 +7451,6 @@ EXPORT_SYMBOL(mpt_resume); | |||
7451 | EXPORT_SYMBOL(mpt_suspend); | 7451 | EXPORT_SYMBOL(mpt_suspend); |
7452 | #endif | 7452 | #endif |
7453 | EXPORT_SYMBOL(ioc_list); | 7453 | EXPORT_SYMBOL(ioc_list); |
7454 | EXPORT_SYMBOL(mpt_proc_root_dir); | ||
7455 | EXPORT_SYMBOL(mpt_register); | 7454 | EXPORT_SYMBOL(mpt_register); |
7456 | EXPORT_SYMBOL(mpt_deregister); | 7455 | EXPORT_SYMBOL(mpt_deregister); |
7457 | EXPORT_SYMBOL(mpt_event_register); | 7456 | EXPORT_SYMBOL(mpt_event_register); |
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index a8f617447d22..b3e470c99374 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -919,7 +919,6 @@ extern int mpt_raid_phys_disk_pg0(MPT_ADAPTER *ioc, u8 phys_disk_num, pRaidPhys | |||
919 | * Public data decl's... | 919 | * Public data decl's... |
920 | */ | 920 | */ |
921 | extern struct list_head ioc_list; | 921 | extern struct list_head ioc_list; |
922 | extern struct proc_dir_entry *mpt_proc_root_dir; | ||
923 | 922 | ||
924 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 923 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
925 | #endif /* } __KERNEL__ */ | 924 | #endif /* } __KERNEL__ */ |