From: Jingoo Han Date: Wed, 7 May 2014 20:09:17 +0000 (-0700) Subject: Input: lpc32xx_ts - make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f23e0abdab17420ff11c96f26d6909790060437a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Roland Stigge Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/lpc32xx_ts.c b/drivers/input/touchscreen/lpc32xx_ts.c index 2058253b55d9..bb47d3442a35 100644 --- a/drivers/input/touchscreen/lpc32xx_ts.c +++ b/drivers/input/touchscreen/lpc32xx_ts.c @@ -384,7 +384,7 @@ static const struct dev_pm_ops lpc32xx_ts_pm_ops = { #endif #ifdef CONFIG_OF -static struct of_device_id lpc32xx_tsc_of_match[] = { +static const struct of_device_id lpc32xx_tsc_of_match[] = { { .compatible = "nxp,lpc3220-tsc", }, { }, };