Home
last modified time | relevance | path

Searched hist:"78453 a31" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Daha1542.c78453a31 Tue Aug 15 23:59:24 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> scsi: aha1542: 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: Martin K. Petersen <martin.petersen@oracle.com>
78453a31 Tue Aug 15 23:59:24 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> scsi: aha1542: 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: Martin K. Petersen <martin.petersen@oracle.com>