greybus: gpio: fix generic_handle_irq_desc api change
authorRui Miguel Silva <rui.silva@linaro.org>
Wed, 30 Sep 2015 10:11:57 +0000 (11:11 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 1 Oct 2015 04:32:56 +0000 (06:32 +0200)
commit3c9426ad27840e2d1175e3b090cba98f539c10c6
tree9e42e21f47af760fa9793245b98812de30596062
parent4ee144170a74c990eea2ccec46ab438bc233d2d8
greybus: gpio: fix generic_handle_irq_desc api change

The generic_handle_irq_desc api only have changed in 4.3.0, so check
against the correct version, if not will break builds for 4.2.x.

Fixes: e7895cfc476 ("gpio: handle api change in generic_handle_irq_desc()")
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/gpio.c