Re: remove devinit from ioc4 pci_driver
From: Brent Casavant
Date: Wed Jul 05 2006 - 11:55:01 EST
It's a bit late and after-the-fact as I was on vacation, however:
Acked-by: Brent Casavant <bcasavan@xxxxxxx>
On Wed, 28 Jun 2006, Dave Jones wrote:
> Documention/pci.txt states..
> "The struct pci_driver shouldn't be marked with any of these tags."
> (Referring to __devinit and friends).
>
> Signed-off-by: Dave Jones <davej@xxxxxxxxxx>
>
> --- linux-2.6/drivers/sn/ioc4.c~ 2006-06-28 15:31:26.000000000 -0400
> +++ linux-2.6/drivers/sn/ioc4.c 2006-06-28 15:32:09.000000000 -0400
> @@ -438,7 +438,7 @@ static struct pci_device_id ioc4_id_tabl
> {0}
> };
>
> -static struct pci_driver __devinitdata ioc4_driver = {
> +static struct pci_driver ioc4_driver = {
> .name = "IOC4",
> .id_table = ioc4_id_table,
> .probe = ioc4_probe,
>
> --
> http://www.codemonkey.org.uk
>
--
Brent Casavant All music is folk music. I ain't
bcasavan@xxxxxxx never heard a horse sing a song.
Silicon Graphics, Inc. -- Louis Armstrong
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/