[ARM] Adapt vic.c to allow for multiple VICs in a system.

Some SoCs have multiple VIC devices.  Adapt the generic vic code
to allow multiple implementations to be handled.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King
2006-03-15 15:44:29 +00:00
committed by Russell King
parent 548153663b
commit 824b5b5e59
3 changed files with 29 additions and 24 deletions

View File

@@ -39,7 +39,7 @@
#define VIC_VECT_CNTL_ENABLE (1 << 5)
#ifndef __ASSEMBLY__
void vic_init(void __iomem *base, u32 vic_sources);
void vic_init(void __iomem *base, unsigned int irq_start, u32 vic_sources);
#endif
#endif