diff options
author | Paul Walmsley | 2011-07-10 03:14:07 +0200 |
---|---|---|
committer | Paul Walmsley | 2011-07-10 03:14:07 +0200 |
commit | 0d619a89998d308c48d06b033eccb7374c456f12 (patch) | |
tree | a4145d0529652167a083ed084c4ff8555f5b5178 /arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | |
parent | omap_hwmod: use a terminator record with omap_hwmod_mpu_irqs arrays (diff) | |
download | kernel-qcow2-linux-0d619a89998d308c48d06b033eccb7374c456f12.tar.gz kernel-qcow2-linux-0d619a89998d308c48d06b033eccb7374c456f12.tar.xz kernel-qcow2-linux-0d619a89998d308c48d06b033eccb7374c456f12.zip |
omap_hwmod: share identical omap_hwmod_mpu_irqs arrays
To reduce kernel source file data duplication, share struct
omap_hwmod_mpu_irqs arrays across OMAP2xxx and 3xxx hwmod data files.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c new file mode 100644 index 000000000000..5a078a652c33 --- /dev/null +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c @@ -0,0 +1,21 @@ +/* + * omap_hwmod_2xxx_ipblock_data.c - common IP block data for OMAP2xxx + * + * Copyright (C) 2011 Nokia Corporation + * Paul Walmsley + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#include <plat/omap_hwmod.h> +#include <plat/serial.h> + +#include <mach/irqs.h> + +#include "omap_hwmod_common_data.h" + +struct omap_hwmod_irq_info omap2xxx_timer12_mpu_irqs[] = { + { .irq = 48, }, + { .irq = -1 } +}; |