From: Márton Németh Date: Sun, 10 Jan 2010 07:25:44 +0000 (-0800) Subject: Input: xen-kbdfront - make xenbus device ids constant X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c6d5709384090de541158a6bba8d4ae50242ff94;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Input: xen-kbdfront - make xenbus device ids constant The ids field of the struct xenbus_device_id is constant in so it makes sense to mark xenkbd_ids also constant. Signed-off-by: Márton Németh Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/xen-kbdfront.c b/drivers/input/xen-kbdfront.c index c721c0a23eb8..d30436fee476 100644 --- a/drivers/input/xen-kbdfront.c +++ b/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" }, { "" } };