common.h (b85a3ef4ac65169b65fd2fe9bec7912bbf475ba4) | common.h (3d64b4496f5fd90618106555344205a522178c0c) |
---|---|
1/* 2 * This file contains common function prototypes to avoid externs 3 * in the c files. 4 * 5 * Copyright (C) 2011 Xilinx 6 * 7 * This software is licensed under the terms of the GNU General Public 8 * License version 2, as published by the Free Software Foundation, and 9 * may be copied, distributed, and modified under those terms. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 */ 16 17#ifndef __MACH_ZYNQ_COMMON_H__ 18#define __MACH_ZYNQ_COMMON_H__ 19 | 1/* 2 * This file contains common function prototypes to avoid externs 3 * in the c files. 4 * 5 * Copyright (C) 2011 Xilinx 6 * 7 * This software is licensed under the terms of the GNU General Public 8 * License version 2, as published by the Free Software Foundation, and 9 * may be copied, distributed, and modified under those terms. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 */ 16 17#ifndef __MACH_ZYNQ_COMMON_H__ 18#define __MACH_ZYNQ_COMMON_H__ 19 |
20#include <linux/init.h> | |
21#include <asm/mach/time.h> 22 | 20#include <asm/mach/time.h> 21 |
23extern void xilinx_init_machine(void); 24extern void xilinx_irq_init(void); 25extern void xilinx_map_io(void); 26 | |
27extern struct sys_timer xttcpss_sys_timer; 28 29#endif | 22extern struct sys_timer xttcpss_sys_timer; 23 24#endif |