diff mbox

[4/5] input: make pnp device id constant

Message ID 4B487CEB.60003@freemail.hu
State New, archived
Headers show

Commit Message

Németh Márton Jan. 9, 2010, 12:56 p.m. UTC
None
diff mbox

Patch

diff -u -p a/drivers/input/gameport/ns558.c b/drivers/input/gameport/ns558.c
--- a/drivers/input/gameport/ns558.c 2009-12-03 04:51:21.000000000 +0100
+++ b/drivers/input/gameport/ns558.c 2010-01-08 19:23:15.000000000 +0100
@@ -166,7 +166,7 @@  static int ns558_isa_probe(int io)

 #ifdef CONFIG_PNP

-static struct pnp_device_id pnp_devids[] = {
+static const struct pnp_device_id pnp_devids[] = {
 	{ .id = "@P@0001", .driver_data = 0 }, /* ALS 100 */
 	{ .id = "@P@0020", .driver_data = 0 }, /* ALS 200 */
 	{ .id = "@P@1001", .driver_data = 0 }, /* ALS 100+ */