Skip to content

Commit

Permalink
[PATCH] Serial: Remove {un,}register_serial from 68328serial.c
Browse files Browse the repository at this point in the history
68328serial.c does not make use of register_serial/unregister_serial,
which is traditionally used to register 8250-compatible UARTs with
the 8250-compatible serial driver.

Acked-by: David McCullough
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Jun 27, 2005
1 parent 020f46a commit addcc4a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions drivers/serial/68328serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1497,23 +1497,6 @@ rs68328_init(void)
return 0;
}



/*
* register_serial and unregister_serial allows for serial ports to be
* configured at run-time, to support PCMCIA modems.
*/
/* SPARC: Unused at this time, just here to make things link. */
int register_serial(struct serial_struct *req)
{
return -1;
}

void unregister_serial(int line)
{
return;
}

module_init(rs68328_init);


Expand Down

0 comments on commit addcc4a

Please sign in to comment.