/drivers/devman/acpi_bus.h |
---|
146,6 → 146,10 |
}; |
static inline void *acpi_driver_data(struct acpi_device *d) |
{ |
return d->driver_data; |
} |
#define acpi_device_bid(d) ((d)->pnp.bus_id) |
#define acpi_device_adr(d) ((d)->pnp.bus_address) |
161,3 → 165,6 |
struct pci_dev *acpi_get_pci_dev(ACPI_HANDLE handle); |
int acpi_is_root_bridge(ACPI_HANDLE handle); |
int acpi_pci_link_allocate_irq(ACPI_HANDLE handle, int index, |
int *triggering, int *polarity, char **name); |