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

Input: clps711x-keypad - 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
af4cf6d3 c95dc011

+1 -1
+1 -1
drivers/input/keyboard/clps711x-keypad.c
··· 185 185 return 0; 186 186 } 187 187 188 - static struct of_device_id clps711x_keypad_of_match[] = { 188 + static const struct of_device_id clps711x_keypad_of_match[] = { 189 189 { .compatible = "cirrus,clps711x-keypad", }, 190 190 { } 191 191 };