blob: bb6cde4ad764206aee87dbee552d3acdf670f6ce [file] [log] [blame]
Albert Herranza166df02009-12-12 06:31:40 +00001/*
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
20extern void __init ug_udbg_init(void);
21
22#else
23
24static inline void __init ug_udbg_init(void)
25{
26}
27
28#endif /* CONFIG_USBGECKO_UDBG */
29
Albert Herranzd1d56f82009-12-12 06:31:51 +000030void __init udbg_init_usbgecko(void);
31
Albert Herranza166df02009-12-12 06:31:40 +000032#endif /* __USBGECKO_UDBG_H */