Commit 44aebc16 authored by Jason Yan's avatar Jason Yan Committed by Ulf Hansson
Browse files

mmc: core: make mmc_interrupt_hpi() static



Fix the following sparse warning:

drivers/mmc/core/mmc_ops.c:881:5: warning: symbol 'mmc_interrupt_hpi'
was not declared. Should it be static?

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Fixes: 55c2b8b9 ("mmc: core: Re-work the code for eMMC sanitize")
Link: https://lore.kernel.org/r/20200403034727.11879-1-yanaijie@huawei.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent ae83d0b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -878,7 +878,7 @@ static int mmc_send_hpi_cmd(struct mmc_card *card)
 *	Issued High Priority Interrupt, and check for card status
 *	until out-of prg-state.
 */
int mmc_interrupt_hpi(struct mmc_card *card)
static int mmc_interrupt_hpi(struct mmc_card *card)
{
	int err;
	u32 status;