Messages in this thread | | | From | Frank Seidel <> | Subject | Re: [PATCH] drivers/block/: add __devinitdata to all pci_device_id table of block drivers | Date | Sun, 3 Feb 2008 10:43:41 +0100 |
| |
On Sunday 03 February 2008 04:12, Denis Cheng wrote: > --- a/drivers/block/cciss.c > +++ b/drivers/block/cciss.c > @@ -67,7 +67,7 @@ MODULE_LICENSE("GPL"); > #include <linux/cciss_ioctl.h> > > /* define the PCI info for the cards we can control */ > -static const struct pci_device_id cciss_pci_device_id[] = { > +static const struct pci_device_id cciss_pci_device_id[] __devinitdata = {
it should be __devinitconst here
> --- a/drivers/block/cpqarray.c > +++ b/drivers/block/cpqarray.c > @@ -96,7 +96,7 @@ static struct board_type products[] = { > }; > > /* define the PCI info for the PCI cards this driver can control */ > -static const struct pci_device_id cpqarray_pci_device_id[] = > +static const struct pci_device_id cpqarray_pci_device_id[] __devinitdata =
same here
> --- a/drivers/block/umem.c > +++ b/drivers/block/umem.c > @@ -1053,7 +1053,7 @@ static void mm_pci_remove(struct pci_dev *dev) > pci_disable_device(dev); > } > > -static const struct pci_device_id mm_pci_ids[] = { > +static const struct pci_device_id mm_pci_ids[] __devinitdata = {
same here
Thanks, Frank
| |