Re: [PATCH] Add removal schedule ofregister_serial/unregister_serial to appropriate file

From: Max Asbock
Date: Fri Aug 12 2005 - 12:31:13 EST


On Thu, 2005-07-14 at 12:33, Russell King wrote:
> On Thu, Jun 23, 2005 at 02:23:35PM +0100, Russell King wrote:
> > +
> > +---------------------------
> > +
> > +What: register_serial/unregister_serial
> > +When: December 2005
> > +Why: This interface does not allow serial ports to be registered against
> > + a struct device, and as such does not allow correct power management
> > + of such ports. 8250-based ports should use serial8250_register_port
> > + and serial8250_unregister_port instead.
> > +Who: Russell King <rmk@xxxxxxxxxxxxxxxx>
>
> I think it's about time to make the build a little more vocal about the
> expiry of these functions. Due to recent discussions with problems in
> the console initialisation vs power manglement, I'd like to move the
> date forward to September.
>

I am converting the ibmasm driver that uses (un)register_serial to use
serial_8250_(un)register_port. However I find function prototypes for
the new interfaces only in linux/drivers/char/8250.h. Is there a reason
there aren't any extern declarations for these functions in
linux/include/serial.h or linux/include/serial_8250.h?

thanks,
max


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