[PATCH 2/8] arm: mach-armada: add source files
From: Ben Dooks <hidden>
Date: 2012-05-16 14:27:02
On 15/05/12 09:54, Thomas Petazzoni wrote:
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-armada/common.h b/arch/arm/mach-armada/common.h new file mode 100644 index 0000000..e453161 --- /dev/null +++ b/arch/arm/mach-armada/common.h@@ -0,0 +1,27 @@ +/* + * Core functions for Marvell Armada System On Chip + * + * Copyright (C) 2012 Marvell + * + * Lior Amsalem<alior@marvell.com> + * Gregory CLEMENT<gregory.clement@free-electrons.com> + * Thomas Petazzoni<thomas.petazzoni@free-electrons.com> + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +#ifndef __ARCH_ARMADA_COMMON_H +#define __ARCH_ARMADA_COMMON_H + +#include<asm/exception.h> + +extern struct sys_timer armada_timer; + +void armada_map_io(void); +void armada_init_irq(void); +void armada_restart(char, const char *); +asmlinkage void __exception_irq_entry armada_handle_irq(struct pt_regs *regs); + +#endif
you should have extern before all these function declarations. -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius