xref: /linux/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h (revision 4413e16d9d21673bb5048a2e542f1aaa00015c2e)
1 /*
2  * arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h
3  *
4  * udbg serial input/output routines for the USB Gecko adapter.
5  * Copyright (C) 2008-2009 The GameCube Linux Team
6  * Copyright (C) 2008,2009 Albert Herranz
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  */
14 
15 #ifndef __USBGECKO_UDBG_H
16 #define __USBGECKO_UDBG_H
17 
18 #ifdef CONFIG_USBGECKO_UDBG
19 
20 extern void __init ug_udbg_init(void);
21 
22 #else
23 
24 static inline void __init ug_udbg_init(void)
25 {
26 }
27 
28 #endif /* CONFIG_USBGECKO_UDBG */
29 
30 void __init udbg_init_usbgecko(void);
31 
32 #endif /* __USBGECKO_UDBG_H */
33