| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h |
| 4 | * |
| 5 | * udbg serial input/output routines for the USB Gecko adapter. |
| 6 | * Copyright (C) 2008-2009 The GameCube Linux Team |
| 7 | * Copyright (C) 2008,2009 Albert Herranz |
| 8 | */ |
| 9 | |
| 10 | #ifndef __USBGECKO_UDBG_H |
| 11 | #define __USBGECKO_UDBG_H |
| 12 | |
| 13 | #ifdef CONFIG_USBGECKO_UDBG |
| 14 | |
| 15 | extern void __init ug_udbg_init(void); |
| 16 | |
| 17 | #else |
| 18 | |
| 19 | static inline void __init ug_udbg_init(void) |
| 20 | { |
| 21 | } |
| 22 | |
| 23 | #endif /* CONFIG_USBGECKO_UDBG */ |
| 24 | |
| 25 | void __init udbg_init_usbgecko(void); |
| 26 | |
| 27 | #endif /* __USBGECKO_UDBG_H */ |
| 28 | |