Skip to content

Commit 44aebc1

Browse files
JasonYanHwstorulf
authored andcommitted
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: Hulk Robot <[email protected]> Signed-off-by: Jason Yan <[email protected]> Fixes: 55c2b8b ("mmc: core: Re-work the code for eMMC sanitize") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent ae83d0b commit 44aebc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/core/mmc_ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ static int mmc_send_hpi_cmd(struct mmc_card *card)
878878
* Issued High Priority Interrupt, and check for card status
879879
* until out-of prg-state.
880880
*/
881-
int mmc_interrupt_hpi(struct mmc_card *card)
881+
static int mmc_interrupt_hpi(struct mmc_card *card)
882882
{
883883
int err;
884884
u32 status;

0 commit comments

Comments
 (0)