diff --git a/drivers/target/target_core_pscsi.c b/drivers/target/target_core_pscsi.c index dc10e29934d7..c3bcc17575d0 100644 --- a/drivers/target/target_core_pscsi.c +++ b/drivers/target/target_core_pscsi.c @@ -461,7 +461,7 @@ static int pscsi_create_type_other(struct se_device *dev, return 0; } -int pscsi_configure_device(struct se_device *dev) +static int pscsi_configure_device(struct se_device *dev) { struct se_hba *hba = dev->se_hba; struct pscsi_dev_virt *pdv = PSCSI_DEV(dev); diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index d6d24a47ed66..c80d88435f90 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -297,7 +297,7 @@ void transport_register_session( } EXPORT_SYMBOL(transport_register_session); -void target_release_session(struct kref *kref) +static void target_release_session(struct kref *kref) { struct se_session *se_sess = container_of(kref, struct se_session, sess_kref);