]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
misc: pch_phub: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 30 Jul 2017 05:26:34 +0000 (10:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:55:48 +0000 (16:55 +0200)
commite3b9c5cea38bd3735dcc7dea571d1f57cf510ae9
tree7d8039cf554794d7de58dbf1319f02912bdce197
parent8efa6fb50696cecacb22af2410f2db34fb37b9c3
misc: pch_phub: 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/pch_phub.c