Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35c4b918 authored by Márton Németh's avatar Márton Németh Committed by Dmitry Torokhov
Browse files

Input: ns558 - make pnp device ids constant



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: default avatarMárton Németh <nm127@freemail.hu>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent a9844b18
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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+ */