Re: [PATCH 01/10] agp: uninorth: constify pci_device_id.

2017-08-04 Thread Dave Airlie
On Tue, 1 Aug 2017, Arvind Yadav wrote: > pci_device_id are not supposed to change at runtime. All functions > working with pci_device_id provided by work with > const pci_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav I've

Re: [PATCH 01/10] agp: uninorth: constify pci_device_id.

2017-08-04 Thread Dave Airlie
On Tue, 1 Aug 2017, Arvind Yadav wrote: > pci_device_id are not supposed to change at runtime. All functions > working with pci_device_id provided by work with > const pci_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav I've merged all the agp ones into

[PATCH 01/10] agp: uninorth: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/char/agp/uninorth-agp.c | 2 +- 1 file changed, 1

[PATCH 01/10] agp: uninorth: constify pci_device_id.

2017-08-01 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/char/agp/uninorth-agp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)