temp revert rk change
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-tegra / include / mach / tegra_fiq_debugger.h
1 /*
2  * linux/arch/arm/mach-tegra/include/mach/tegra_fiq_debugger.h
3  *
4  * Copyright (C) 2010 Google, Inc.
5  *
6  * This software is licensed under the terms of the GNU General Public
7  * License version 2, as published by the Free Software Foundation, and
8  * may be copied, distributed, and modified under those terms.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  */
16
17 #ifndef __MACH_TEGRA_FIQ_DEBUGGER_H
18 #define __MACH_TEGRA_FIQ_DEBUGGER_H
19
20 #ifdef CONFIG_TEGRA_FIQ_DEBUGGER
21 void tegra_serial_debug_init(unsigned int base, int irq,
22         struct clk *clk, int signal_irq, int wakeup_irq);
23 #else
24 static inline void tegra_serial_debug_init(unsigned int base, int irq,
25         struct clk *clk, int signal_irq, int wakeup_irq)
26 {
27 }
28 #endif
29
30 #endif