Skip to content
Snippets Groups Projects
Commit ef9a16f1 authored by Márton Németh's avatar Márton Németh Committed by Dmitry Torokhov
Browse files

Input: xilinx_ps2 - make Open Firmware device ids constant


The match_table field of the struct of_device_id is constant
in <linux/of_platform.h> so it makes sense to mark xps2_of_match
also constant.

Signed-off-by: default avatarMárton Németh <nm127@freemail.hu>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent ce7b39a1
No related branches found
No related tags found
No related merge requests found
......@@ -354,7 +354,7 @@ static int __devexit xps2_of_remove(struct of_device *of_dev)
}
/* Match table for of_platform binding */
static struct of_device_id xps2_of_match[] __devinitdata = {
static const struct of_device_id xps2_of_match[] __devinitconst = {
{ .compatible = "xlnx,xps-ps2-1.00.a", },
{ /* end of list */ },
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment