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

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 <jg1.han@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Jingoo Han and committed by
Dmitry Torokhov
597173a8 5f155ee1

+1 -1
+1 -1
drivers/input/serio/olpc_apsp.c
··· 262 262 return 0; 263 263 } 264 264 265 - static struct of_device_id olpc_apsp_dt_ids[] = { 265 + static const struct of_device_id olpc_apsp_dt_ids[] = { 266 266 { .compatible = "olpc,ap-sp", }, 267 267 {} 268 268 };