]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
Merge branch 'pci/jiang-pci_slot-kconfig' into next
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 16 Feb 2013 00:44:01 +0000 (17:44 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 16 Feb 2013 00:44:01 +0000 (17:44 -0700)
* pci/jiang-pci_slot-kconfig:
  ACPI / PCI: Make pci_slot built-in only, not a module

1  2 
drivers/acpi/internal.h
drivers/acpi/scan.c

index 0f24148a2b2a3cd7ee06c5b7e1ecbf0f7ee20cf3,7374cfc5917a2d38ac34a7779fe2ca9e610f01ca..e09ce0373d41f9ca2db5b5d33ca6a9b603aa60e7
@@@ -67,8 -67,12 +67,13 @@@ struct acpi_ec 
  
  extern struct acpi_ec *first_ec;
  
+ #ifdef        CONFIG_ACPI_PCI_SLOT
+ void acpi_pci_slot_init(void);
+ #else
+ static inline void acpi_pci_slot_init(void) { }
+ #endif
  int acpi_pci_root_init(void);
 +void acpi_pci_root_hp_init(void);
  int acpi_ec_init(void);
  int acpi_ec_ecdt_probe(void);
  int acpi_boot_ec_enable(void);
Simple merge