From: Paul Walmsley Date: Tue, 8 Dec 2009 23:34:16 +0000 (-0700) Subject: OMAP hwmod: add names to module MPU IRQ lines X-Git-Tag: v2.6.33-rc1~295^2~1^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=718bfd76932c566f79eb55083693ef0b68071bf8;p=pandora-kernel.git OMAP hwmod: add names to module MPU IRQ lines Replace the existing u8 array of module MPU IRQ lines with a struct that includes a name - similar to the existing struct omap_hwmod_dma_info. Device drivers can then use platform_get_resource_byname() to retrieve specific IRQs without nasty dependencies on array ordering. Thanks to Benoît Cousson and Kevin Hilman for feedback on this approach. Signed-off-by: Paul Walmsley Cc: Benoît Cousson Cc: Kevin Hilman --- Reading git-diff-tree failed