Skip to content

Commit

Permalink
Input: ns558 - make pnp device ids constant
Browse files Browse the repository at this point in the history
The id_table field of the struct pnp_driver is constant in <linux/pnp.h>
so it makes sense to mark pnp_devids also constant.

Signed-off-by: Márton Németh <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
nmarci1 authored and dtor committed Jan 10, 2010
1 parent a9844b1 commit 35c4b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/gameport/ns558.c
Original file line number Diff line number Diff line change
Expand Up @@ -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+ */
Expand Down

0 comments on commit 35c4b91

Please sign in to comment.