Re: quirk_via_irqpic() must not be __devinit for S1

From: Pavel Machek
Date: Thu May 26 2005 - 17:21:58 EST


Hi!

> Got this testing echo 1 > /proc/acpi/sleep on a box 2.6.12-rc5-mm1.
> Reference to discarded function, patch at bottom. Works nice
> otherwise :-)

Patch looks good, but can only be applied to -mm tree, so it is not
easy to merge to me. Andrew, could you apply this one?

Pavel

> Signed-off-by: Alexander Nyberg <alexn@xxxxxxxxx>
>
> Index: akpm/drivers/pci/quirks.c
> ===================================================================
> --- akpm.orig/drivers/pci/quirks.c 2005-05-26 12:52:03.000000000 +0200
> +++ akpm/drivers/pci/quirks.c 2005-05-26 21:35:08.000000000 +0200
> @@ -499,7 +499,7 @@
> DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_3, quirk_via_acpi );
> DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4, quirk_via_acpi );
>
> -static void __devinit quirk_via_irqpic(struct pci_dev *dev)
> +static void quirk_via_irqpic(struct pci_dev *dev)
> {
> u8 irq, new_irq;
>
>

--
-
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/