diff options
author | Jason Yan <[email protected]> | 2020-04-03 11:47:27 +0800 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2020-04-20 09:24:39 +0200 |
commit | 44aebc16d7e9064a38d3b77750496f0fd2a23dcf (patch) | |
tree | f7ec4690a3a5bf06689f11057231ac39ed1ef17e | |
parent | ae83d0b416db002fe95601e7f97f64b59514d936 (diff) |
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: 55c2b8b9a383 ("mmc: core: Re-work the code for eMMC sanitize")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
-rw-r--r-- | drivers/mmc/core/mmc_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c index 5bd0ab8b236a..baa6314f69b4 100644 --- a/drivers/mmc/core/mmc_ops.c +++ b/drivers/mmc/core/mmc_ops.c @@ -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; |