[PATCH v5 4/9] arm: mach-mvebu: add support for Armada 370 and Armada XP with DT

Ben Dooks ben.dooks at codethink.co.uk
Wed Jun 27 12:11:19 EDT 2012

On 27/06/12 14:54, Gregory Clement wrote:
> [ben.dooks at codethink.co.uk: ensure error check on of_property_read_u32]
> [ben.dooks at codethink.co.uk: use mpic address instead of bus-unit's ]
> [ben.dooks at codethink.co.uk: BUG_ON() if the of_iomap() fails for mpic]
> [ben.dooks at codethink.co.uk: move mpic per-cpu register base ]
> [ben.dooks at codethink.co.uk: number fetch should use irqd_to_hwirq()]
> Signed-off-by: Gregory CLEMENT<gregory.clement at free-electrons.com>
> Signed-off-by: Thomas Petazzoni<thomas.petazzoni at free-electrons.com>
> Signed-off-by: Lior Amsalem<alior at marvell.com>
> Signed-off-by: Ben Dooks<ben.dooks at codethink.co.uk>


> diff --git a/arch/arm/mach-mvebu/common.h b/arch/arm/mach-mvebu/common.h
> index f0eaa21..1b1e679 100644
> --- a/arch/arm/mach-mvebu/common.h
> +++ b/arch/arm/mach-mvebu/common.h
> @@ -17,4 +17,7 @@
>   void mvebu_restart(char mode, const char *cmd);

If you set it when you probed the device, you'd not need
to export it in the header.

> +void armada_370_xp_init_irq(void);
> +asmlinkage void  armada_370_xp_handle_irq(struct pt_regs *regs);

You shouldn't need linkage info with a function declaration.

Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

More information about the linux-arm-kernel mailing list