]> err.no Git - linux-2.6/commitdiff
[SCSI] aic79xx: make ahd_match_scb() static
authorAdrian Bunk <bunk@stusta.de>
Tue, 6 Feb 2007 00:38:27 +0000 (16:38 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 7 Feb 2007 23:30:19 +0000 (18:30 -0500)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic7xxx/aic79xx.h
drivers/scsi/aic7xxx/aic79xx_core.c

index 170a4344cbb2a62ee9446dd57e40339a1b7d98ff..27adbb294ac1db21cc0b962714f29020a89805bb 100644 (file)
@@ -1337,9 +1337,6 @@ int       ahd_pci_test_register_access(struct ahd_softc *);
 /************************** 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);
index 07a86a30f676c4d2c64afec835ce44f01201a697..9ddc6e4a74b040d497620675f0cd5dfcf7256078 100644 (file)
@@ -262,6 +262,9 @@ static void         ahd_update_coalescing_values(struct ahd_softc *ahd,
                                                     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 *****************************/
 
@@ -7256,7 +7259,7 @@ ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid)
 }
 
 /************************** 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)
 {