diff options
author | Scott Wood <scottwood@freescale.com> | 2007-09-14 16:30:44 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-10-04 12:02:04 -0400 |
commit | 449012daa92a60e42f0d55478641cfa796d51528 (patch) | |
tree | 0d79f3259147e7fda762ab1e07586697c22641a2 /arch/powerpc/sysdev/cpm2_pic.c | |
parent | 544cdabe642e5508e784de709530a74d0775d070 (diff) |
[POWERPC] cpm2: Infrastructure code cleanup.
Mostly sparse fixes (__iomem annotations, etc); also, cpm2_immr
is used rather than creating many temporary mappings.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/cpm2_pic.c')
-rw-r--r-- | arch/powerpc/sysdev/cpm2_pic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/cpm2_pic.c b/arch/powerpc/sysdev/cpm2_pic.c index d5b36e0ecbda..5fe65b2f8f3a 100644 --- a/arch/powerpc/sysdev/cpm2_pic.c +++ b/arch/powerpc/sysdev/cpm2_pic.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #define CPM2_IRQ_PORTC15 48 | 48 | #define CPM2_IRQ_PORTC15 48 |
49 | #define CPM2_IRQ_PORTC0 63 | 49 | #define CPM2_IRQ_PORTC0 63 |
50 | 50 | ||
51 | static intctl_cpm2_t *cpm2_intctl; | 51 | static intctl_cpm2_t __iomem *cpm2_intctl; |
52 | 52 | ||
53 | static struct irq_host *cpm2_pic_host; | 53 | static struct irq_host *cpm2_pic_host; |
54 | #define NR_MASK_WORDS ((NR_IRQS + 31) / 32) | 54 | #define NR_MASK_WORDS ((NR_IRQS + 31) / 32) |