Linux-2.6.12-rc2
[linux-flexiantxendom0-natty.git] / arch / ppc / boot / common / serial_stub.c
1 /*
2  * arch/ppc/boot/common/serial_stub.c
3  *
4  * This is a few stub routines to make the boot code cleaner looking when
5  * there is no serial port support doesn't need to be closed, for example.
6  *
7  * Author: Tom Rini <trini@mvista.com>
8  *
9  * 2003 (c) MontaVista, Software, Inc.  This file is licensed under the terms
10  * of the GNU General Public License version 2.  This program is licensed "as
11  * is" without any warranty of any kind, whether express or implied.
12  */
13
14 unsigned long __attribute__ ((weak))
15 serial_init(int chan, void *ignored)
16 {
17         return 0;
18 }
19
20 void __attribute__ ((weak))
21 serial_close(unsigned long com_port)
22 {
23 }