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

#ifdef CONFIG_EARLY_PRINTK
extern int setup_early_printk(char *);
extern void enable_shadow_console(void);
#else
#define setup_early_printk(fmt) do { } while (0)
#define enable_shadow_console(fmt)  do { } while (0)
#endif /* CONFIG_EARLY_PRINTK */