Skip to content

Commit f5a954b

Browse files
bvanasschemartinkpetersen
authored andcommitted
scsi: acornscsi: Declare local functions static
Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 1613e60 commit f5a954b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

drivers/scsi/arm/acornscsi.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2450,7 +2450,7 @@ static int acornscsi_queuecmd_lck(struct scsi_cmnd *SCpnt)
24502450
return 0;
24512451
}
24522452

2453-
DEF_SCSI_QCMD(acornscsi_queuecmd)
2453+
static DEF_SCSI_QCMD(acornscsi_queuecmd)
24542454

24552455
enum res_abort { res_not_running, res_success, res_success_clear, res_snooze };
24562456

@@ -2552,7 +2552,7 @@ static enum res_abort acornscsi_do_abort(AS_Host *host, struct scsi_cmnd *SCpnt)
25522552
* Params : SCpnt - command to abort
25532553
* Returns : one of SCSI_ABORT_ macros
25542554
*/
2555-
int acornscsi_abort(struct scsi_cmnd *SCpnt)
2555+
static int acornscsi_abort(struct scsi_cmnd *SCpnt)
25562556
{
25572557
AS_Host *host = (AS_Host *) SCpnt->device->host->hostdata;
25582558
int result;
@@ -2634,7 +2634,7 @@ int acornscsi_abort(struct scsi_cmnd *SCpnt)
26342634
* Params : SCpnt - command causing reset
26352635
* Returns : one of SCSI_RESET_ macros
26362636
*/
2637-
int acornscsi_host_reset(struct scsi_cmnd *SCpnt)
2637+
static int acornscsi_host_reset(struct scsi_cmnd *SCpnt)
26382638
{
26392639
AS_Host *host = (AS_Host *)SCpnt->device->host->hostdata;
26402640
struct scsi_cmnd *SCptr;
@@ -2679,8 +2679,7 @@ int acornscsi_host_reset(struct scsi_cmnd *SCpnt)
26792679
* Params : host - host to give information on
26802680
* Returns : a constant string
26812681
*/
2682-
const
2683-
char *acornscsi_info(struct Scsi_Host *host)
2682+
static const char *acornscsi_info(struct Scsi_Host *host)
26842683
{
26852684
static char string[100], *p;
26862685

0 commit comments

Comments
 (0)