mmc: pci_mmc.c should build with ACPIGEN=n
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 Jun 2022 12:53:48 +0000 (12:53 +0000)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 27 Jul 2022 06:19:42 +0000 (15:19 +0900)
commit2785fc4868db1f2643ffd2b989c88cde9dcced4c
tree7f405459269c39a8a932238f10bf2392594721d7
parent233662411d12109cdc8957de6e85fb30fe2d42b8
mmc: pci_mmc.c should build with ACPIGEN=n

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: dba7ee419d9d ("acpi: mmc: Generate ACPI info for the PCI SD Card")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/mmc/pci_mmc.c