]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
scsi: hptiop: make function hptiop_iop_request_callback_itl static
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Jun 2017 15:52:19 +0000 (16:52 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 26 Jun 2017 19:01:02 +0000 (15:01 -0400)
The function hptiop_iop_request_callback_itl does not need to be in
global scope, so make it static.

Cleans up sparse warning:
"symbol 'hptiop_iop_request_callback_itl' was not declared. Should it
 be static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hptiop.c

index db17ad15b0c1580222031247eac8b25b41c9a0a8..7226226f7383533b7bff3b5ecad922d34beb0ba0 100644 (file)
@@ -800,7 +800,7 @@ static void hptiop_host_request_callback_itl(struct hptiop_hba *hba, u32 _tag)
        hptiop_finish_scsi_req(hba, tag, req);
 }
 
-void hptiop_iop_request_callback_itl(struct hptiop_hba *hba, u32 tag)
+static void hptiop_iop_request_callback_itl(struct hptiop_hba *hba, u32 tag)
 {
        struct hpt_iop_request_header __iomem *req;
        struct hpt_iop_request_ioctl_command __iomem *p;