dt/irq: add irq_domain_generate_simple() helper
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 26 Jul 2011 09:19:06 +0000 (03:19 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 28 Jul 2011 07:32:04 +0000 (01:32 -0600)
commit7e71330169d8056536b299290544980bccc6b300
tree7dab4954a7683e35bbf66adadd89b26971960311
parent08a543ad33fc188650801bd36eed4ffe272643e1
dt/irq: add irq_domain_generate_simple() helper

irq_domain_generate_simple() is an easy way to generate an irq translation
domain for simple irq controllers.  It assumes a flat 1:1 mapping from
hardware irq number to an offset of the first linux irq number assigned
to the controller

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
include/linux/irqdomain.h
kernel/irq/irqdomain.c