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