]> git.baikalelectronics.ru Git - kernel.git/commit
misc: ioc4: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 30 Jul 2017 05:26:37 +0000 (10:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:55:48 +0000 (16:55 +0200)
commitd12de75fdb8f61234580911e025365f9cfb01fec
treed57bbccf6c00cd672c04e75df9ec3b5a791212f6
parent2230b330742f46c8501cc7759934d987042aa491
misc: ioc4: constify pci_device_id.

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

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ioc4.c