Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/jbarnes/pci-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
  PCI: pci-label: Fix build failure when CONFIG_NLS is set to 'm' by allmodconfig
  • Loading branch information
Linus Torvalds committed Apr 19, 2011
2 parents 9d914b3 + 8a226e0 commit 97ddec6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion drivers/pci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,6 @@ config PCI_IOAPIC
depends on HOTPLUG
default y

select NLS if (DMI || ACPI)
config PCI_LABEL
def_bool y if (DMI || ACPI)
select NLS
4 changes: 2 additions & 2 deletions drivers/pci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o
# ACPI Related PCI FW Functions
# ACPI _DSM provided firmware instance and string name
#
obj-$(CONFIG_ACPI) += pci-acpi.o pci-label.o
obj-$(CONFIG_ACPI) += pci-acpi.o

# SMBIOS provided firmware instance and labels
obj-$(CONFIG_DMI) += pci-label.o
obj-$(CONFIG_PCI_LABEL) += pci-label.o

# Cardbus & CompactPCI use setup-bus
obj-$(CONFIG_HOTPLUG) += setup-bus.o
Expand Down

0 comments on commit 97ddec6

Please sign in to comment.