Skip to content

Commit

Permalink
Input: xen-kbdfront - make xenbus device ids constant
Browse files Browse the repository at this point in the history
The ids field of the struct xenbus_device_id is constant in <linux/xen/xenbus.h>
so it makes sense to mark xenkbd_ids also constant.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Márton Németh authored and Dmitry Torokhov committed Jan 10, 2010
1 parent 35c4b91 commit c6d5709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/xen-kbdfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ static void xenkbd_backend_changed(struct xenbus_device *dev,
}
}

static struct xenbus_device_id xenkbd_ids[] = {
static const struct xenbus_device_id xenkbd_ids[] = {
{ "vkbd" },
{ "" }
};
Expand Down

0 comments on commit c6d5709

Please sign in to comment.