ACPI/PNP: A HID value of an object never changes -> make it const

Signed-off-by: Thomas Renninger <[email protected]>
Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
Thomas Renninger 2010-10-01 10:54:00 +02:00 • committed by Len Brown
commit 620e112cfe
7 changed files with 12 additions and 11 deletions

View file

@ -184,7 +184,7 @@ struct acpi_device_pnp {
#define acpi_device_bid(d) ((d)->pnp.bus_id)
#define acpi_device_adr(d) ((d)->pnp.bus_address)
char *acpi_device_hid(struct acpi_device *device);
const char *acpi_device_hid(struct acpi_device *device);
#define acpi_device_name(d) ((d)->pnp.device_name)
#define acpi_device_class(d) ((d)->pnp.device_class)