]> git.karo-electronics.de Git - karo-tx-linux.git/commit
irqdomain: Support removal of IRQ domains.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 19 May 2012 06:11:41 +0000 (15:11 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 19 May 2012 18:32:35 +0000 (12:32 -0600)
commit58ee99ada293b5ed971a023304fcfbc1a0ccdb1c
tree29faab64364615dda0cb373ee7dbd483ff89ce9c
parent36be50515fe2aef61533b516fa2576a2c7fe7664
irqdomain: Support removal of IRQ domains.

Now that IRQ domains are being used by modules it's necessary to support
removing them, too. This adds a new irq_domain_remove() routine for doing
the bulk of the heavy lifting. It's left as an exercise to the caller to
ensure all mappings have been appropriatey disposed of before attempting
to remove the domain.

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