Searched hist:e3b9c5cea38bd3735dcc7dea571d1f57cf510ae9 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/misc/ |
H A D | pch_phub.c | diff e3b9c5cea38bd3735dcc7dea571d1f57cf510ae9 Sun Jul 30 00:26:34 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> 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>
|