From: Jingoo Han Date: Wed, 7 May 2014 20:03:20 +0000 (-0700) Subject: Input: olpc_apsp - make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=597173a89a76ef1aafd02fc6cef7e0d3804b930b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Input: olpc_apsp - 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/serio/olpc_apsp.c b/drivers/input/serio/olpc_apsp.c index 5d2fe7ece7ca..d906f3ebc8c8 100644 --- a/drivers/input/serio/olpc_apsp.c +++ b/drivers/input/serio/olpc_apsp.c @@ -262,7 +262,7 @@ static int olpc_apsp_remove(struct platform_device *pdev) return 0; } -static struct of_device_id olpc_apsp_dt_ids[] = { +static const struct of_device_id olpc_apsp_dt_ids[] = { { .compatible = "olpc,ap-sp", }, {} };