aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/power.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-09-14 01:31:59 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-09-14 01:31:59 -0400
commit66e66118837ed95a299328437c2d9fb4b5137352 (patch)
tree901c8b3ab9ab01b0363992b65689cafe797fcb25 /drivers/input/power.c
parentInput: libps2 - rearrange exports (diff)
downloadlinux-dev-66e66118837ed95a299328437c2d9fb4b5137352.tar.xz
linux-dev-66e66118837ed95a299328437c2d9fb4b5137352.zip
Input: constify input core
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/power.c')
-rw-r--r--drivers/input/power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/power.c b/drivers/input/power.c
index 51a519e24b6d..75d018759cd5 100644
--- a/drivers/input/power.c
+++ b/drivers/input/power.c
@@ -98,7 +98,7 @@ static void power_event(struct input_handle *handle, unsigned int type,
static struct input_handle *power_connect(struct input_handler *handler,
struct input_dev *dev,
- struct input_device_id *id)
+ const struct input_device_id *id)
{
struct input_handle *handle;
@@ -120,7 +120,7 @@ static void power_disconnect(struct input_handle *handle)
kfree(handle);
}
-static struct input_device_id power_ids[] = {
+static const struct input_device_id power_ids[] = {
{
.flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT,
.evbit = { BIT(EV_KEY) },