Skip to content

Commit

Permalink
PCI: label: Fix compilation error when CONFIG_ACPI is unset
Browse files Browse the repository at this point in the history
This patch fixes compilation error descibed below introduced by
the commit 6058989

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: Narendra K <narendra_k@dell.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Narendra_K@Dell.com authored and Jesse Barnes committed Mar 16, 2011
1 parent c8adf9a commit 07eefe1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/pci/pci-label.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 07eefe1

Please sign in to comment.