Browse Source

Input: xen-kbdfront - make xenbus device ids constant

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>
Márton Németh 15 năm trước cách đây
mục cha
commit
c6d5709384
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/input/xen-kbdfront.c

+ 1 - 1
drivers/input/xen-kbdfront.c

@@ -321,7 +321,7 @@ InitWait:
 	}
 }
 
-static struct xenbus_device_id xenkbd_ids[] = {
+static const struct xenbus_device_id xenkbd_ids[] = {
 	{ "vkbd" },
 	{ "" }
 };