Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df1a2903 authored by Alejandro Martinez Ruiz's avatar Alejandro Martinez Ruiz Committed by Russell King
Browse files

[ARM] ARRAY_SIZE() cleanup

parent 2fd2b124
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}
}