early_printk.h 1.1 KB

123456789101112131415161718192021222324252627282930
  1. /*
  2. * File: include/asm-blackfin/early_printk.h
  3. * Author: Robin Getz <rgetz@blackfin.uclinux.org
  4. *
  5. * Created: 14Aug2007
  6. * Description: function prototpyes for early printk
  7. *
  8. * Modified:
  9. * Copyright 2004-2007 Analog Devices Inc.
  10. *
  11. * Bugs: Enter bugs at http://blackfin.uclinux.org/
  12. *
  13. * This program is free software; you can redistribute it and/or modify
  14. * it under the terms of the GNU General Public License as published by
  15. * the Free Software Foundation; either version 2 of the License, or
  16. * (at your option) any later version.
  17. *
  18. * This program is distributed in the hope that it will be useful,
  19. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  21. * GNU General Public License for more details.
  22. */
  23. #ifdef CONFIG_EARLY_PRINTK
  24. extern int setup_early_printk(char *);
  25. extern void enable_shadow_console(void);
  26. #else
  27. #define setup_early_printk(fmt) do { } while (0)
  28. #define enable_shadow_console(fmt) do { } while (0)
  29. #endif /* CONFIG_EARLY_PRINTK */