mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-06 06:41:40 +00:00
mmc: fsl_esdhc: remove redundant DM_MMC checking
Remove redundant DM_MMC checking which is already in DM_MMC conditional compile block. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
This commit is contained in:
parent
41dec2fe99
commit
2913926f3b
1 changed files with 0 additions and 2 deletions
|
@ -1026,7 +1026,6 @@ static int fsl_esdhc_probe(struct udevice *dev)
|
||||||
return esdhc_init_common(priv, mmc);
|
return esdhc_init_common(priv, mmc);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_IS_ENABLED(DM_MMC)
|
|
||||||
static int fsl_esdhc_get_cd(struct udevice *dev)
|
static int fsl_esdhc_get_cd(struct udevice *dev)
|
||||||
{
|
{
|
||||||
struct fsl_esdhc_priv *priv = dev_get_priv(dev);
|
struct fsl_esdhc_priv *priv = dev_get_priv(dev);
|
||||||
|
@ -1059,7 +1058,6 @@ static const struct dm_mmc_ops fsl_esdhc_ops = {
|
||||||
.execute_tuning = fsl_esdhc_execute_tuning,
|
.execute_tuning = fsl_esdhc_execute_tuning,
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
static const struct udevice_id fsl_esdhc_ids[] = {
|
static const struct udevice_id fsl_esdhc_ids[] = {
|
||||||
{ .compatible = "fsl,esdhc", },
|
{ .compatible = "fsl,esdhc", },
|
||||||
|
|
Loading…
Add table
Reference in a new issue