diff options
author | Thomas Renninger <trenn@suse.de> | 2010-10-01 10:54:00 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-10-02 01:28:51 +0200 |
commit | 620e112cfe1c9281c176de8ad1a7691c4eb4950d (patch) | |
tree | b7a2b5b389396ac1b90f7d586af568044df7804f /drivers/pnp/core.c | |
parent | ACPI: Do not export hid/modalias sysfs file for ACPI objects without a HID (diff) | |
download | linux-620e112cfe1c9281c176de8ad1a7691c4eb4950d.tar.xz linux-620e112cfe1c9281c176de8ad1a7691c4eb4950d.zip |
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/core.c')
-rw-r--r-- | drivers/pnp/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 88b3cde52596..c79ee1ded68d 100644 --- a/drivers/pnp/core.c +++ b/drivers/pnp/core.c @@ -124,7 +124,8 @@ static void pnp_release_device(struct device *dmdev) kfree(dev); } -struct pnp_dev *pnp_alloc_dev(struct pnp_protocol *protocol, int id, char *pnpid) +struct pnp_dev *pnp_alloc_dev(struct pnp_protocol *protocol, int id, + const char *pnpid) { struct pnp_dev *dev; struct pnp_id *dev_id; |