diff options
author | Alejandro Martinez Ruiz | 2007-10-17 12:14:25 +0200 |
---|---|---|
committer | Russell King | 2008-01-26 14:49:57 +0000 |
commit | df1a29032060680d258689448dca37bb003c4c2c (patch) | |
tree | b8013c749df8c62491474fd7b1a66b2d7cd98b73 /arch/arm/kernel | |
parent | 2fd2b1242810fb4d2ba36548fecc1f005c36770c (diff) |
[ARM] ARRAY_SIZE() cleanup
Signed-off-by: Alejandro Martinez Ruiz <alex@flawedcode.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/dma-isa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/dma-isa.c b/arch/arm/kernel/dma-isa.c index 0a3e9ad297d8..2f080a35a2d9 100644 --- a/arch/arm/kernel/dma-isa.c +++ b/arch/arm/kernel/dma-isa.c @@ -216,7 +216,7 @@ void __init isa_init_dma(dma_t *dma) request_dma(DMA_ISA_CASCADE, "cascade"); - for (i = 0; i < sizeof(dma_resources) / sizeof(dma_resources[0]); i++) + for (i = 0; i < ARRAY_SIZE(dma_resources); i++) request_resource(&ioport_resource, dma_resources + i); } } |