Skip to content

Commit

Permalink
ACPI / hotplug / PCI: Get rid of unused constants in acpiphp.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mika Westerberg authored and Rafael J. Wysocki committed Jul 23, 2013
1 parent 4ebe345 commit c38f82c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/pci/hotplug/acpiphp.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,12 @@ struct acpiphp_attention_info
struct module *owner;
};

/* PCI bus bridge HID */
#define ACPI_PCI_HOST_HID "PNP0A03"

/* ACPI _STA method value (ignore bit 4; battery present) */
#define ACPI_STA_ALL (0x0000000f)

/* slot flags */

#define SLOT_ENABLED (0x00000002)
#define SLOT_MULTIFUNCTION (0x00000004)
#define SLOT_ENABLED (0x00000001)

/* function flags */

Expand Down

0 comments on commit c38f82c

Please sign in to comment.