diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 22:04:50 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-15 01:39:57 +0200 |
commit | 051f7de728f377037673e547fe477da008d2fb83 (patch) | |
tree | 331d56007c6c5824bb92714bdad12786c0e2e7b2 /drivers/input/serio | |
parent | Input: olpc_apsp - make of_device_id array const (diff) | |
download | linux-051f7de728f377037673e547fe477da008d2fb83.tar.xz linux-051f7de728f377037673e547fe477da008d2fb83.zip |
Input: apbps2 - 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>
Diffstat (limited to 'drivers/input/serio')
-rw-r--r-- | drivers/input/serio/apbps2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/apbps2.c b/drivers/input/serio/apbps2.c index 17e01a807ddc..98be824544a5 100644 --- a/drivers/input/serio/apbps2.c +++ b/drivers/input/serio/apbps2.c @@ -203,7 +203,7 @@ static int apbps2_of_remove(struct platform_device *of_dev) return 0; } -static struct of_device_id apbps2_of_match[] = { +static const struct of_device_id apbps2_of_match[] = { { .name = "GAISLER_APBPS2", }, { .name = "01_060", }, {} |