From: Felipe Balbi Date: Wed, 5 Jan 2011 06:46:18 +0000 (+0200) Subject: arm: omap: gpio: don't access irq_desc array directly X-Git-Tag: v2.6.38-rc1~52^2~15 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=1a9b5878671d417a856fdafe971306c99297b7f0;hp=1a9b5878671d417a856fdafe971306c99297b7f0 arm: omap: gpio: don't access irq_desc array directly Instead of accessing the irq_desc array directly we can use irq_to_desc(irq). That will allow us to, if wanted, select SPARSE_IRQ and irq_descs will be added to a radix tree, instead of a array. Signed-off-by: Felipe Balbi Signed-off-by: Kevin Hilman ---