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

Input: lpc32xx_ts - 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>
Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Jingoo Han and committed by
Dmitry Torokhov
f23e0abd a5fd844c

+1 -1
+1 -1
drivers/input/touchscreen/lpc32xx_ts.c
··· 384 384 #endif 385 385 386 386 #ifdef CONFIG_OF 387 - static struct of_device_id lpc32xx_tsc_of_match[] = { 387 + static const struct of_device_id lpc32xx_tsc_of_match[] = { 388 388 { .compatible = "nxp,lpc3220-tsc", }, 389 389 { }, 390 390 };