]> git.baikalelectronics.ru Git - kernel.git/commit
agp: efficeon: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 16:01:53 +0000 (21:31 +0530)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Aug 2017 06:59:48 +0000 (16:59 +1000)
commitb6bd77a124cbd8c105feeca23aa8ae0fb29fe768
tree056c4e4446b33d2a3a04a8a7ddd66bf78a245f16
parent21a644e409771fb1a3f32055c516d498f0f3d073
agp: efficeon: 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: Dave Airlie <airlied@redhat.com>
drivers/char/agp/efficeon-agp.c