From: Krzysztof Kozlowski Date: Wed, 6 May 2015 23:55:21 +0000 (-0700) Subject: Input: s3c2410_ts - constify platform_device_id X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3419e49a0efafc9577413a250f330de5e14e6705;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Input: s3c2410_ts - constify platform_device_id The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c index bdfa27dc097b..a4a103e1d11b 100644 --- a/drivers/input/touchscreen/s3c2410_ts.c +++ b/drivers/input/touchscreen/s3c2410_ts.c @@ -411,7 +411,7 @@ static const struct dev_pm_ops s3c_ts_pmops = { }; #endif -static struct platform_device_id s3cts_driver_ids[] = { +static const struct platform_device_id s3cts_driver_ids[] = { { "s3c2410-ts", 0 }, { "s3c2440-ts", 0 }, { "s3c64xx-ts", FEAT_PEN_IRQ },