diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-19 15:46:32 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-19 15:46:32 -0400 |
| commit | 97ddec65ff85a3226fb2856b4d93ebbcf097c28f (patch) | |
| tree | f8ee80325815e05caf66a9afd09817ab1d447acd | |
| parent | 9d914b3ef38d996aa6b369267fd2975e7efa92d6 (diff) | |
| parent | 8a226e00eeed8db843d4a580013a49ae3559bcd7 (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/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
| -rw-r--r-- | drivers/pci/Kconfig | 4 | ||||
| -rw-r--r-- | drivers/pci/Makefile | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index c8ff646c0b05..0fa466a91bf4 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig | |||
| @@ -88,4 +88,6 @@ config PCI_IOAPIC | |||
| 88 | depends on HOTPLUG | 88 | depends on HOTPLUG |
| 89 | default y | 89 | default y |
| 90 | 90 | ||
| 91 | select NLS if (DMI || ACPI) | 91 | config PCI_LABEL |
| 92 | def_bool y if (DMI || ACPI) | ||
| 93 | select NLS | ||
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile index 98d61c8e984b..c85f744270a5 100644 --- a/drivers/pci/Makefile +++ b/drivers/pci/Makefile | |||
| @@ -56,10 +56,10 @@ obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o | |||
| 56 | # ACPI Related PCI FW Functions | 56 | # ACPI Related PCI FW Functions |
| 57 | # ACPI _DSM provided firmware instance and string name | 57 | # ACPI _DSM provided firmware instance and string name |
| 58 | # | 58 | # |
| 59 | obj-$(CONFIG_ACPI) += pci-acpi.o pci-label.o | 59 | obj-$(CONFIG_ACPI) += pci-acpi.o |
| 60 | 60 | ||
| 61 | # SMBIOS provided firmware instance and labels | 61 | # SMBIOS provided firmware instance and labels |
| 62 | obj-$(CONFIG_DMI) += pci-label.o | 62 | obj-$(CONFIG_PCI_LABEL) += pci-label.o |
| 63 | 63 | ||
| 64 | # Cardbus & CompactPCI use setup-bus | 64 | # Cardbus & CompactPCI use setup-bus |
| 65 | obj-$(CONFIG_HOTPLUG) += setup-bus.o | 65 | obj-$(CONFIG_HOTPLUG) += setup-bus.o |
