lkml.org 
[lkml]   [2008]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] drivers/block/: add __devinitdata to all pci_device_id table of block drivers
Date
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


\
 
 \ /
  Last update: 2008-02-03 10:53    [W:0.068 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site