summaryrefslogtreecommitdiff
path: root/drivers/scsi/hptiop.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-06-22 18:52:19 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-26 22:01:02 +0300
commit06d9eb4e71c316f231dc079e66b58592d733c737 (patch)
treee638354736c6c1f82d2a2e51be0e77835b9588e2 /drivers/scsi/hptiop.c
parent6c9e27703594131d0f170f27ddb1c12a4eb599c6 (diff)
downloadlinux-06d9eb4e71c316f231dc079e66b58592d733c737.tar.xz
scsi: hptiop: make function hptiop_iop_request_callback_itl static
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>
Diffstat (limited to 'drivers/scsi/hptiop.c')
-rw-r--r--drivers/scsi/hptiop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c
index db17ad15b0c1..7226226f7383 100644
--- a/drivers/scsi/hptiop.c
+++ b/drivers/scsi/hptiop.c
@@ -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;