mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ACPI / scan: constify struct acpi_hardware_id::id
This is preparation for using kstrdup_const to initialize that member. Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
636c19d389
commit
844142c3f8
3 changed files with 5 additions and 5 deletions
|
|
@ -207,7 +207,7 @@ struct pnp_protocol pnpacpi_protocol = {
|
|||
};
|
||||
EXPORT_SYMBOL(pnpacpi_protocol);
|
||||
|
||||
static char *__init pnpacpi_get_id(struct acpi_device *device)
|
||||
static const char *__init pnpacpi_get_id(struct acpi_device *device)
|
||||
{
|
||||
struct acpi_hardware_id *id;
|
||||
|
||||
|
|
@ -222,7 +222,7 @@ static char *__init pnpacpi_get_id(struct acpi_device *device)
|
|||
static int __init pnpacpi_add_device(struct acpi_device *device)
|
||||
{
|
||||
struct pnp_dev *dev;
|
||||
char *pnpid;
|
||||
const char *pnpid;
|
||||
struct acpi_hardware_id *id;
|
||||
int error;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue