Skip to content

Commit

Permalink
Merge master.kernel.org:/home/rmk/linux-2.6-serial
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus Torvalds committed Jul 17, 2005
2 parents c6c621b + 6d283d2 commit f60f700
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ Who: Jody McIntyre <scjody@steamballoon.com>
---------------------------

What: register_serial/unregister_serial
When: December 2005
When: September 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.
and serial8250_unregister_port, or platform devices instead.
Who: Russell King <rmk@arm.linux.org.uk>

---------------------------
Expand Down
2 changes: 0 additions & 2 deletions drivers/serial/crisv10.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,6 @@
static char *serial_version = "$Revision: 1.25 $";

#include <linux/config.h>
#include <linux/version.h>

#include <linux/types.h>
#include <linux/errno.h>
#include <linux/signal.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/serial/icom.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#define SERIAL_DO_RESTART
#include <linux/module.h>
#include <linux/config.h>
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/signal.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/serial/jsm/jsm.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#define __JSM_DRIVER_H

#include <linux/kernel.h>
#include <linux/version.h>
#include <linux/types.h> /* To pick up the varions Linux types */
#include <linux/tty.h>
#include <linux/serial_core.h>
Expand Down
6 changes: 4 additions & 2 deletions include/linux/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,11 @@ struct serial_icounter_struct {


#ifdef __KERNEL__
#include <linux/compiler.h>

/* Export to allow PCMCIA to use this - Dave Hinds */
extern int register_serial(struct serial_struct *req);
extern void unregister_serial(int line);
extern int __deprecated register_serial(struct serial_struct *req);
extern void __deprecated unregister_serial(int line);

/* Allow architectures to override entries in serial8250_ports[] at run time: */
struct uart_port; /* forward declaration */
Expand Down
1 change: 0 additions & 1 deletion include/linux/serialP.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
* For definitions of the flags field, see tty.h
*/

#include <linux/version.h>
#include <linux/config.h>
#include <linux/termios.h>
#include <linux/workqueue.h>
Expand Down
5 changes: 3 additions & 2 deletions include/linux/serial_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
#ifdef __KERNEL__

#include <linux/config.h>
#include <linux/compiler.h>
#include <linux/interrupt.h>
#include <linux/circ_buf.h>
#include <linux/spinlock.h>
Expand Down Expand Up @@ -359,8 +360,8 @@ struct tty_driver *uart_console_device(struct console *co, int *index);
*/
int uart_register_driver(struct uart_driver *uart);
void uart_unregister_driver(struct uart_driver *uart);
void uart_unregister_port(struct uart_driver *reg, int line);
int uart_register_port(struct uart_driver *reg, struct uart_port *port);
void __deprecated uart_unregister_port(struct uart_driver *reg, int line);
int __deprecated uart_register_port(struct uart_driver *reg, struct uart_port *port);
int uart_add_one_port(struct uart_driver *reg, struct uart_port *port);
int uart_remove_one_port(struct uart_driver *reg, struct uart_port *port);
int uart_match_port(struct uart_port *port1, struct uart_port *port2);
Expand Down

0 comments on commit f60f700

Please sign in to comment.