usbgecko_udbg.h 764 B

123456789101112131415161718192021222324252627282930313233
  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. #ifndef __USBGECKO_UDBG_H
  15. #define __USBGECKO_UDBG_H
  16. #ifdef CONFIG_USBGECKO_UDBG
  17. extern void __init ug_udbg_init(void);
  18. #else
  19. static inline void __init ug_udbg_init(void)
  20. {
  21. }
  22. #endif /* CONFIG_USBGECKO_UDBG */
  23. void __init udbg_init_usbgecko(void);
  24. #endif /* __USBGECKO_UDBG_H */