Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07eefe1c authored by Narendra_K@Dell.com's avatar Narendra_K@Dell.com Committed by Jesse Barnes
Browse files

PCI: label: Fix compilation error when CONFIG_ACPI is unset



This patch fixes compilation error descibed below introduced by
the commit 6058989b

drivers/pci/pci-label.c: In function ‘pci_create_firmware_label_files’:
drivers/pci/pci-label.c:366:2: error: implicit declaration of function ‘device_has_dsm’

Signed-off-by: default avatarNarendra K <narendra_k@dell.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent c8adf9a3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -174,6 +174,12 @@ pci_remove_acpi_index_label_files(struct pci_dev *pdev)
	return -1;
}

static inline bool
device_has_dsm(struct device *dev)
{
	return false;
}

#else

static const char device_label_dsm_uuid[] = {