diff options
author | Thomas Renninger <trenn@suse.de> | 2010-10-01 10:54:00 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-10-01 19:28:51 -0400 |
commit | 620e112cfe1c9281c176de8ad1a7691c4eb4950d (patch) | |
tree | b7a2b5b389396ac1b90f7d586af568044df7804f /drivers/pnp/pnpacpi | |
parent | 2b2ae7c7f8e25043793042eb9df88aa875b4cff8 (diff) |
ACPI/PNP: A HID value of an object never changes -> make it const
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/pnpacpi')
-rw-r--r-- | drivers/pnp/pnpacpi/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/pnpacpi/core.c b/drivers/pnp/pnpacpi/core.c index dc4e32e031e9..4aafcf89b03b 100644 --- a/drivers/pnp/pnpacpi/core.c +++ b/drivers/pnp/pnpacpi/core.c @@ -59,7 +59,7 @@ static inline int __init is_exclusive_device(struct acpi_device *dev) #define TEST_ALPHA(c) \ if (!('@' <= (c) || (c) <= 'Z')) \ return 0 -static int __init ispnpidacpi(char *id) +static int __init ispnpidacpi(const char *id) { TEST_ALPHA(id[0]); TEST_ALPHA(id[1]); |