drivers/scsi/aic7xxx/aic79xx_core.c: make ahd_match_scb() static
Subsystems (2)
PATCH 8/22 drivers/scsi/aic7xxx/aic79xx_core.c: make ahd_match_scb() static
From: Adrian Bunk <[email protected]>
Signed-off-by Adrian Bunk <[email protected]>
Cc James Bottomley <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/scsi/aic7xxx/aic79xx.h | 3 --- drivers/scsi/aic7xxx/aic79xx_core.c | 5 ++++- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/scsi/aic7xxx/aic79xx_core.c renamed from drivers/scsi/aic7xxx/aic79xx_core.c~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static +4 -1
@@ -262,6 +262,9 @@ static void ahd_update_coalescing_value u_int mincmds);static int ahd_verify_vpd_cksum (struct vpd_config *vpd);static int ahd_wait_seeprom (struct ahd_softc *ahd); +static int ahd_match_scb (struct ahd_softc *ahd,struct scb *scb, +int target,char channel,int lun, +u_int tag,role_t role);/******************************** Private Inlines *****************************/
@@ -7215,7 +7218,7 @@ ahd_busy_tcl(struct ahd_softc *ahd, u_in }/************************** SCB and SCB queue management **********************/ -int +static int ahd_match_scb (struct ahd_softc *ahd,struct scb *scb,int target,char channel,int lun,u_int tag,role_t role) {
drivers/scsi/aic7xxx/aic79xx.h renamed from drivers/scsi/aic7xxx/aic79xx.h~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static +0 -3
@@ -1345,9 +1345,6 @@ int ahd_pci_test_register_access(struct/************************** SCB and SCB queue management **********************/ void ahd_qinfifo_requeue_tail (struct ahd_softc *ahd,struct scb *scb); -int ahd_match_scb (struct ahd_softc *ahd,struct scb *scb, -int target,char channel,int lun, -u_int tag,role_t role);/****************************** Initialization ********************************/ struct ahd_softc *ahd_alloc (void *platform_arg,char *name);
_
Quoted 46 lines · [email protected] wrote:
From: Adrian Bunk <[email protected]>
Signed-off-by Adrian Bunk <[email protected]>Cc James Bottomley <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
drivers/scsi/aic7xxx/aic79xx.h | 3 --- drivers/scsi/aic7xxx/aic79xx_core.c | 5 ++++- 2 files changed, 4 insertions(+), 4 deletions(-)diff -puN
drivers/scsi/aic7xxx/aic79xx_core.c~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-staticdrivers/scsi/aic7xxx/aic79xx_core.cdrivers/scsi/aic7xxx/aic79xx_core.c renamed from drivers/scsi/aic7xxx/aic79xx_core.c~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static +4
-1@@ -262,6 +262,9 @@ static void ahd_update_coalescing_value u_int mincmds);static int ahd_verify_vpd_cksum (struct vpd_config *vpd);static int ahd_wait_seeprom (struct ahd_softc *ahd); +static int ahd_match_scb (struct ahd_softc *ahd,struct scb *scb, +int target,char channel,int lun, +u_int tag,role_t role);/******************************** Private Inlines *****************************/ @@ -7215,7 +7218,7 @@ ahd_busy_tcl(struct ahd_softc *ahd, u_in }/************************** SCB and SCB queue management **********************/ -int +static int ahd_match_scb (struct ahd_softc *ahd,struct scb *scb,int target,char channel,int lun,u_int tag,role_t role) {diff -puN
drivers/scsi/aic7xxx/aic79xx.h~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-staticdrivers/scsi/aic7xxx/aic79xx.hdrivers/scsi/aic7xxx/aic79xx.h renamed from drivers/scsi/aic7xxx/aic79xx.h~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static +0
-3@@ -1345,9 +1345,6 @@ int ahd_pci_test_register_access(struct/************************** SCB and SCB queue management **********************/ void ahd_qinfifo_requeue_tail (struct ahd_softc *ahd,struct scb *scb); -int ahd_match_scb (struct ahd_softc *ahd,struct scb *scb, -int target,char channel,int lun, -u_int tag,role_t role);/****************************** Initialization ********************************/ struct ahd_softc *ahd_alloc (void *platform_arg,char *name);
Quoted 1 line
_
Cheers,
Hannes
Signature · 8 lines
Dr. Hannes Reinecke [email protected] SuSE Linux Products GmbH S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html