sandbox_defconfig builds the PCI MMC driver. It should be possible to
build the sandbox without ACPI support.
ACPI support in the PCI MMC driver is only needed when creating an ACPI
table. Fix building with ACPIGEN=n.
Fixes: f9d8b0058356 ("acpi: mmc: Generate ACPI info for the PCI SD Card")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
return sdhci_bind(dev, &plat->mmc, &plat->cfg);
}
+__maybe_unused
static int pci_mmc_acpi_fill_ssdt(const struct udevice *dev,
struct acpi_ctx *ctx)
{
}
struct acpi_ops pci_mmc_acpi_ops = {
+#ifdef CONFIG_ACPIGEN
.fill_ssdt = pci_mmc_acpi_fill_ssdt,
+#endif
};
static const struct udevice_id pci_mmc_match[] = {