Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <jg1.han@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Jingoo Han and committed by
Dmitry Torokhov
051f7de7 597173a8

+1 -1
+1 -1
drivers/input/serio/apbps2.c
··· 203 203 return 0; 204 204 } 205 205 206 - static struct of_device_id apbps2_of_match[] = { 206 + static const struct of_device_id apbps2_of_match[] = { 207 207 { .name = "GAISLER_APBPS2", }, 208 208 { .name = "01_060", }, 209 209 {}