]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
scsi: eesox: Declare local function static
authorBart Van Assche <bvanassche@acm.org>
Mon, 3 Jun 2024 17:23:10 +0000 (10:23 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 5 Jun 2024 02:21:50 +0000 (22:21 -0400)
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240603172311.1587589-4-bvanassche@acm.org
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arm/eesox.c

index b3ec7635bc728ac6701fc9249dcc96f692646736..99be9da8757f46d14e370941b1537986f79b0003 100644 (file)
@@ -381,7 +381,7 @@ eesoxscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp)
  * Params   : host - driver host structure to return info for.
  * Returns  : pointer to a static buffer containing null terminated string.
  */
-const char *eesoxscsi_info(struct Scsi_Host *host)
+static const char *eesoxscsi_info(struct Scsi_Host *host)
 {
        struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata;
        static char string[150];