summaryrefslogtreecommitdiffstats
path: root/drivers/misc/hpilo.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-30 07:26:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 16:55:48 +0200
commit404147ba158af1c8b14739972fa5de7558e5458c (patch)
tree78f474052c688e6f4d9c45f0a8de679dae2c409d /drivers/misc/hpilo.c
parentmisc: ioc4: constify pci_device_id. (diff)
downloadlinux-404147ba158af1c8b14739972fa5de7558e5458c.tar.xz
linux-404147ba158af1c8b14739972fa5de7558e5458c.zip
misc: tifm: 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. checkpatch ERROR: space prohibited before open square bracket '[' Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/hpilo.c')
0 files changed, 0 insertions, 0 deletions