summaryrefslogtreecommitdiff
path: root/drivers/input/evbug.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/evbug.c
parent5206c0d5ec514733dd098cf658d71327d199c7a0 (diff)
Input: constify input core
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/evbug.c')
-rw-r--r--drivers/input/evbug.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/input/evbug.c b/drivers/input/evbug.c
index 07358fb51b82..1d8ce7a1ec30 100644
--- a/drivers/input/evbug.c
+++ b/drivers/input/evbug.c
@@ -42,10 +42,12 @@ static char evbug_name[] = "evbug";
static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int value)
{
- printk(KERN_DEBUG "evbug.c: Event. Dev: %s, Type: %d, Code: %d, Value: %d\n", handle->dev->phys, type, code, value);
+ printk(KERN_DEBUG "evbug.c: Event. Dev: %s, Type: %d, Code: %d, Value: %d\n",
+ handle->dev->phys, type, code, value);
}
-static struct input_handle *evbug_connect(struct input_handler *handler, struct input_dev *dev, struct input_device_id *id)
+static struct input_handle *evbug_connect(struct input_handler *handler, struct input_dev *dev,
+ const struct input_device_id *id)
{
struct input_handle *handle;
@@ -72,7 +74,7 @@ static void evbug_disconnect(struct input_handle *handle)
kfree(handle);
}
-static struct input_device_id evbug_ids[] = {
+static const struct input_device_id evbug_ids[] = {
{ .driver_info = 1 }, /* Matches all devices */
{ }, /* Terminating zero entry */
};