mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
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>
This commit is contained in:
parent
597173a89a
commit
051f7de728
@ -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", },
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user