mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ACPI: Add acpi_device_uid() for convenience
Add a nicer way to get the ACPI _UID. Signed-off-by: Adrian Hunter <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
56b858dfad
commit
359597cb37
1 changed files with 1 additions and 0 deletions
|
|
@ -252,6 +252,7 @@ struct acpi_device_pnp {
|
|||
#define acpi_device_bid(d) ((d)->pnp.bus_id)
|
||||
#define acpi_device_adr(d) ((d)->pnp.bus_address)
|
||||
const char *acpi_device_hid(struct acpi_device *device);
|
||||
#define acpi_device_uid(d) ((d)->pnp.unique_id)
|
||||
#define acpi_device_name(d) ((d)->pnp.device_name)
|
||||
#define acpi_device_class(d) ((d)->pnp.device_class)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue