mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
scsi: powertec: Declare local function static
Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20240603172311.1587589-5-bvanassche@acm.org Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
1dc98be418
commit
daf613331c
@ -184,7 +184,7 @@ powertecscsi_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 *powertecscsi_info(struct Scsi_Host *host)
|
||||
static const char *powertecscsi_info(struct Scsi_Host *host)
|
||||
{
|
||||
struct powertec_info *info = (struct powertec_info *)host->hostdata;
|
||||
static char string[150];
|
||||
|
Loading…
Reference in New Issue
Block a user