2019-05-27 14:55:01 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2009-12-12 14:31:40 +08:00
|
|
|
/*
|
|
|
|
* arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h
|
|
|
|
*
|
|
|
|
* udbg serial input/output routines for the USB Gecko adapter.
|
|
|
|
* Copyright (C) 2008-2009 The GameCube Linux Team
|
|
|
|
* Copyright (C) 2008,2009 Albert Herranz
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __USBGECKO_UDBG_H
|
|
|
|
#define __USBGECKO_UDBG_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_USBGECKO_UDBG
|
|
|
|
|
|
|
|
extern void __init ug_udbg_init(void);
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
static inline void __init ug_udbg_init(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* CONFIG_USBGECKO_UDBG */
|
|
|
|
|
2009-12-12 14:31:51 +08:00
|
|
|
void __init udbg_init_usbgecko(void);
|
|
|
|
|
2009-12-12 14:31:40 +08:00
|
|
|
#endif /* __USBGECKO_UDBG_H */
|