[RFC: -mm patch] drivers/message/fusion/mptbase.c: make mpt_read_ioc_pg_3() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc5-mm1:
>...
>  git-scsi-misc.patch
>...
>  git trees
>...


mpt_read_ioc_pg_3() can now become static.


Signed-off-by: Adrian Bunk <[email protected]>

---

 drivers/message/fusion/mptbase.c |    4 ++--
 drivers/message/fusion/mptbase.h |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

--- linux-2.6.16-rc5-mm2-full/drivers/message/fusion/mptbase.h.old	2006-03-03 17:44:55.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/drivers/message/fusion/mptbase.h	2006-03-03 17:45:02.000000000 +0100
@@ -1021,7 +1021,6 @@
 extern void	 mpt_alloc_fw_memory(MPT_ADAPTER *ioc, int size);
 extern void	 mpt_free_fw_memory(MPT_ADAPTER *ioc);
 extern int	 mpt_findImVolumes(MPT_ADAPTER *ioc);
-extern int	 mpt_read_ioc_pg_3(MPT_ADAPTER *ioc);
 extern int	 mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode);
 extern int	 mptbase_GetFcPortPage0(MPT_ADAPTER *ioc, int portnum);
 
--- linux-2.6.16-rc5-mm2-full/drivers/message/fusion/mptbase.c.old	2006-03-03 17:45:10.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/drivers/message/fusion/mptbase.c	2006-03-03 17:47:07.000000000 +0100
@@ -180,6 +180,7 @@
 static void	mpt_fc_log_info(MPT_ADAPTER *ioc, u32 log_info);
 static void	mpt_spi_log_info(MPT_ADAPTER *ioc, u32 log_info);
 static void	mpt_sas_log_info(MPT_ADAPTER *ioc, u32 log_info);
+static int	mpt_read_ioc_pg_3(MPT_ADAPTER *ioc);
 
 /* module entry point */
 static int  __init    fusion_init  (void);
@@ -4871,7 +4872,7 @@
 	return rc;
 }
 
-int
+static int
 mpt_read_ioc_pg_3(MPT_ADAPTER *ioc)
 {
 	IOCPage3_t		*pIoc3;
@@ -6364,7 +6365,6 @@
 EXPORT_SYMBOL(mpt_HardResetHandler);
 EXPORT_SYMBOL(mpt_config);
 EXPORT_SYMBOL(mpt_findImVolumes);
-EXPORT_SYMBOL(mpt_read_ioc_pg_3);
 EXPORT_SYMBOL(mpt_alloc_fw_memory);
 EXPORT_SYMBOL(mpt_free_fw_memory);
 EXPORT_SYMBOL(mptbase_sas_persist_operation);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux