blob: f5b6b7d972e878d23ba8e7d0b603b0a139a18909 [file] [log] [blame]
Robin Getz0ae53642007-10-09 17:24:49 +08001/*
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
24#ifdef CONFIG_EARLY_PRINTK
25extern int setup_early_printk(char *);
Robin Getz3f871fe2009-07-06 14:53:19 +000026extern void enable_shadow_console(void);
Robin Getz0ae53642007-10-09 17:24:49 +080027#else
28#define setup_early_printk(fmt) do { } while (0)
Robin Getz3f871fe2009-07-06 14:53:19 +000029#define enable_shadow_console(fmt) do { } while (0)
Robin Getz0ae53642007-10-09 17:24:49 +080030#endif /* CONFIG_EARLY_PRINTK */