PNP: ide: constify pnp_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 16 Aug 2017 04:54:32 +0000 (10:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 18:25:16 +0000 (11:25 -0700)
commitb671e1703394d77163130c91f53b075db1c446bf
treebb9a9f5dd2064263824a6cfa007b629f7c1ef5af
parent510c8a899caf095cb13d09d203573deef15db2fe
PNP: ide: constify pnp_device_id

pnp_device_id are not supposed to change at runtime. All functions
working with pnp_device_id provided by <linux/pnp.h> work with
const pnp_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-pnp.c