Re: Compile problems on alpha: 2.6.6, 2.6.7-rc2

From: Patrick Finnegan
Date: Tue Jun 15 2004 - 11:27:28 EST


On Tuesday 15 June 2004 11:16, Ivan Kokshaysky wrote:
> On Tue, Jun 15, 2004 at 09:07:09AM -0700, William Lee Irwin III wrote:
> > Could you try to locate it with scripts/reference_discard.pl, and
> > if that fail, post your .config (preferably compressed) so I can
> > try to debug this on my alphas?
>
> This is known problem - missing __devexit_p() wrapper in serial PnP
> driver.
>
> Ivan.
>
> --- 2.6/drivers/serial/8250_pnp.c Mon May 10 06:31:59 2004
> +++ linux/drivers/serial/8250_pnp.c Mon May 10 22:47:45 2004
> @@ -437,7 +437,7 @@ static struct pnp_driver serial_pnp_driv
> .name = "serial",
> .id_table = pnp_dev_table,
> .probe = serial_pnp_probe,
> - .remove = serial_pnp_remove,
> + .remove = __devexit_p(serial_pnp_remove),
> };
>
> static int __init serial8250_pnp_init(void)

Nifty, that works perfectly. Thanks.

Pat
--
Purdue University ITAP/RCS --- http://www.itap.purdue.edu/rcs/
The Computer Refuge --- http://computer-refuge.org
-
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/