From: Jingoo Han Date: Wed, 7 May 2014 20:04:50 +0000 (-0700) Subject: Input: apbps2 - make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=051f7de728f377037673e547fe477da008d2fb83;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Input: apbps2 - make of_device_id array const Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/serio/apbps2.c b/drivers/input/serio/apbps2.c index 17e01a807ddc..98be824544a5 100644 --- a/drivers/input/serio/apbps2.c +++ b/drivers/input/serio/apbps2.c @@ -203,7 +203,7 @@ static int apbps2_of_remove(struct platform_device *of_dev) return 0; } -static struct of_device_id apbps2_of_match[] = { +static const struct of_device_id apbps2_of_match[] = { { .name = "GAISLER_APBPS2", }, { .name = "01_060", }, {}