mmc: sdhci-msm: Mark sdhci_msm_cqe_disable static
Subsystems (3)
PATCH 1/1 mmc: sdhci-msm: Mark sdhci_msm_cqe_disable static
This function is not exported and only used in this file. Mark it static.
Cc Ritesh Harjani <[email protected]>
Cc Veerabhadrarao Badiganti <[email protected]>
Cc Adrian Hunter <[email protected]>
Cc Douglas Anderson <[email protected]>
Signed-off-by Stephen Boyd <[email protected]>
--- drivers/mmc/host/sdhci-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sdhci-msm.c +1 -1
@@ -1590,7 +1590,7 @@ static u32 sdhci_msm_cqe_irq(struct sdhci_host *host, u32 intmask)return 0 ; } -void sdhci_msm_cqe_disable (struct mmc_host *mmc,bool recovery) +static void sdhci_msm_cqe_disable (struct mmc_host *mmc,bool recovery) {struct sdhci_host *host =mmc_priv (mmc);unsigned long flags;
Signature · 1 line
Sent by a computer, using git, on the internet
Hi,
Quoted 4 lines · Stephen Boyd
This function is not exported and only used in this file. Mark it static.
Quoted 8 lines
Cc Ritesh Harjani <[email protected]>Cc Veerabhadrarao Badiganti <[email protected]>Cc Adrian Hunter <[email protected]>Cc Douglas Anderson <[email protected]>Signed-off-by Stephen Boyd <[email protected]>--- drivers/mmc/host/sdhci-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fixes 87a8df0dce6a ("mmc: sdhci-msm: Add CQHCI support for sdhci-msm")
Reviewed-by Douglas Anderson <[email protected]>
Quoted 8 lines · Stephen Boyd
This function is not exported and only used in this file. Mark it static.
Cc Ritesh Harjani <[email protected]>Cc Veerabhadrarao Badiganti <[email protected]>Cc Adrian Hunter <[email protected]>Cc Douglas Anderson <[email protected]>Signed-off-by Stephen Boyd <[email protected]>
Acked-by Adrian Hunter <[email protected]>
Quoted 18 lines
--- drivers/mmc/host/sdhci-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/sdhci-msm.c +1
-1@@ -1590,7 +1590,7 @@ static u32 sdhci_msm_cqe_irq(struct sdhci_host *host, u32 intmask)return 0 ; } -void sdhci_msm_cqe_disable (struct mmc_host *mmc,bool recovery) +static void sdhci_msm_cqe_disable (struct mmc_host *mmc,bool recovery) {struct sdhci_host *host =mmc_priv (mmc);unsigned long flags;
Quoted 9 lines · Stephen Boyd
This function is not exported and only used in this file. Mark it static.
Cc Ritesh Harjani <[email protected]>Cc Veerabhadrarao Badiganti <[email protected]>Cc Adrian Hunter <[email protected]>Cc Douglas Anderson <[email protected]>Signed-off-by Stephen Boyd <[email protected]>
Applied for fixes, thanks!
Kind regards
Uffe
Quoted 20 lines
--- drivers/mmc/host/sdhci-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/sdhci-msm.c +1
-2@@ -1590,7 +1590,7 @@ static u32 sdhci_msm_cqe_irq(struct sdhci_host *host, u32 intmask)return 0 ; } -void sdhci_msm_cqe_disable (struct mmc_host *mmc,bool recovery) +static void sdhci_msm_cqe_disable (struct mmc_host *mmc,bool recovery) {struct sdhci_host *host =mmc_priv (mmc);unsigned long flags; --Sent by a computer, using git, on the internet