77611a6968d6c7d519214ef998e6df316f9c574e
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-vt8500 / common.h
1 /* linux/arch/arm/mach-vt8500/dt_common.h
2  *
3  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
4  *
5  * This software is licensed under the terms of the GNU General Public
6  * License version 2, as published by the Free Software Foundation, and
7  * may be copied, distributed, and modified under those terms.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  */
15
16 #ifndef __ARCH_ARM_MACH_VT8500_DT_COMMON_H
17 #define __ARCH_ARM_MACH_VT8500_DT_COMMON_H
18
19 #include <linux/of.h>
20
21 int __init vt8500_irq_init(struct device_node *node,
22                                 struct device_node *parent);
23
24 /* defined in drivers/clk/clk-vt8500.c */
25 void __init vtwm_clk_init(void __iomem *pmc_base);
26
27 /* defined in irq.c */
28 asmlinkage void vt8500_handle_irq(struct pt_regs *regs);
29
30 #endif