提交 c6d57093 编写于 作者: M Márton Németh 提交者: Dmitry Torokhov

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: NMárton Németh <nm127@freemail.hu>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 35c4b918
...@@ -321,7 +321,7 @@ static void xenkbd_backend_changed(struct xenbus_device *dev, ...@@ -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" }, { "vkbd" },
{ "" } { "" }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册