]> 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)
commit6843435ab0e3f1fdcd500f0526991cc1e9b1ea2b
treed57bbccf6c00cd672c04e75df9ec3b5a791212f6
parent79e2e7fe4c3bbc68dddba6add072e4500da8fd01
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