Commit Graph
2 Commits
Author SHA1 Message Date
Peter Wu cca9882b46 Use cached dev_name
dis_dev might become invalid when the PCI device is removed from the
bus. There are more users, but this should be a start.
2016-06-06 02:22:00 +02:00
Peter Wu 2ccf2d7e31 Define ACPI_HANDLE macro for older versions
ACPI_HANDLE was added in Linux 3.8,
DEVICE_ACPI_HANDLE is gone in Linux 3.13. Move the definition a bit
higher, maybe we can reuse it later.
2016-06-06 02:20:29 +02:00