agp: amd-k7: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 16:01:49 +0000 (21:31 +0530)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Aug 2017 06:59:45 +0000 (16:59 +1000)
commitb8ca53f4d07a194697a14ee247c2e529fdd37ade
treed5a6b5e915ae1c9e4867096235de7b7793328e58
parentba67a31aac45bbae19b6b1ad86a6790188f2d88b
agp: amd-k7: 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/amd-k7-agp.c