From: Magnus Damm Date: Tue, 12 Feb 2013 15:56:13 +0000 (+0900) Subject: gpio: em: Use irq_domain_add_simple() to fix runtime error X-Git-Tag: v3.9-rc1~76^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7886b18273b07042e25e8d3ba5c983837b84123;p=pandora-kernel.git gpio: em: Use irq_domain_add_simple() to fix runtime error Adjust the gpio-em.c driver to reconsider the pdata->irq_base variable. Non-DT board code like for instance board-kzm9d.c needs to operate of a static IRQ range for platform devices. So this patch is updating the code to make use of the function irq_domain_add_simple() instead of irq_domain_add_linear(). Fixes a EMEV2 / KZM9D runtime error caused by the following commit: 7385500 gpio/em: convert to linear IRQ domain Cc: stable@kernel.org Signed-off-by: Magnus Damm Tested-by: Simon Horman Reported-by: Simon Horman Signed-off-by: Linus Walleij --- Reading git-diff-tree failed