diff options
| author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2013-07-13 17:27:26 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-22 22:00:27 -0400 |
| commit | c38f82cf1b7dc8aad2bce8e30113fd6aa3159dab (patch) | |
| tree | c189f37ffaf2b0b033b0d0d72a45383867989c7d | |
| parent | 4ebe34503baa0644c9352bcd76d4cf573bffe206 (diff) | |
ACPI / hotplug / PCI: Get rid of unused constants in acpiphp.h
Drop some unused symbols from acpiphp.h and redefine SLOT_ENABLED
(which is the only slot flag now) as 1.
[rjw: Redefinition of SLOT_ENABLED, changelog]
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
| -rw-r--r-- | drivers/pci/hotplug/acpiphp.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/pci/hotplug/acpiphp.h b/drivers/pci/hotplug/acpiphp.h index ca2c91df3d1a..f4e028924667 100644 --- a/drivers/pci/hotplug/acpiphp.h +++ b/drivers/pci/hotplug/acpiphp.h | |||
| @@ -154,16 +154,12 @@ struct acpiphp_attention_info | |||
| 154 | struct module *owner; | 154 | struct module *owner; |
| 155 | }; | 155 | }; |
| 156 | 156 | ||
| 157 | /* PCI bus bridge HID */ | ||
| 158 | #define ACPI_PCI_HOST_HID "PNP0A03" | ||
| 159 | |||
| 160 | /* ACPI _STA method value (ignore bit 4; battery present) */ | 157 | /* ACPI _STA method value (ignore bit 4; battery present) */ |
| 161 | #define ACPI_STA_ALL (0x0000000f) | 158 | #define ACPI_STA_ALL (0x0000000f) |
| 162 | 159 | ||
| 163 | /* slot flags */ | 160 | /* slot flags */ |
| 164 | 161 | ||
| 165 | #define SLOT_ENABLED (0x00000002) | 162 | #define SLOT_ENABLED (0x00000001) |
| 166 | #define SLOT_MULTIFUNCTION (0x00000004) | ||
| 167 | 163 | ||
| 168 | /* function flags */ | 164 | /* function flags */ |
| 169 | 165 | ||
