Commit 19dafe9c authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Ulf Hansson
Browse files

mmc: sdhci-of-esdhc: Modify mismatched function name

No functional modification involved.

drivers/mmc/host/sdhci-of-esdhc.c:243: warning: expecting prototype for _fixup(). Prototype was for esdhc_writel_fixup() instead.
drivers/mmc/host/sdhci-of-esdhc.c:117: warning: expecting prototype for _fixup(). Prototype was for esdhc_readl_fixup() instead.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3397


Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20221209034134.38477-1-jiapeng.chong@linux.alibaba.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 0c359970
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -98,7 +98,7 @@ struct sdhci_esdhc {
};
};


/**
/**
 * esdhc_read*_fixup - Fixup the value read from incompatible eSDHC register
 * esdhc_readl_fixup - Fixup the value read from incompatible eSDHC register
 *		       to make it compatible with SD spec.
 *		       to make it compatible with SD spec.
 *
 *
 * @host: pointer to sdhci_host
 * @host: pointer to sdhci_host
@@ -223,7 +223,7 @@ static u8 esdhc_readb_fixup(struct sdhci_host *host,
}
}


/**
/**
 * esdhc_write*_fixup - Fixup the SD spec register value so that it could be
 * esdhc_writel_fixup - Fixup the SD spec register value so that it could be
 *			written into eSDHC register.
 *			written into eSDHC register.
 *
 *
 * @host: pointer to sdhci_host
 * @host: pointer to sdhci_host