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