agp: ali: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 16:01:51 +0000 (21:31 +0530)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Aug 2017 06:59:47 +0000 (16:59 +1000)
commite4e22911b38d624aec37ba8c4e19697984878a54
tree87addd6ed0e2a78b837db40371053cf2b5b60f28
parent84a6bf7fd78d8255f4e83cf30ce7b142e7567ed1
agp: ali: 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/ali-agp.c