ieee802154: mcr20a: add missing includes
authorArnd Bergmann <arnd@arndb.de>
Wed, 30 May 2018 21:47:09 +0000 (23:47 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Thu, 5 Jul 2018 09:13:17 +0000 (11:13 +0200)
commita6032120d341badd9b034cb64411e7089d8f4285
tree20228318f3ce8bbc68773e953cd1f1590e712054
parent5e7ba042fd05043416babace5a4a953e29cf2826
ieee802154: mcr20a: add missing includes

Without CONFIG_GPIOLIB, some headers are not included implicitly,
leading to a build failure:

drivers/net/ieee802154/mcr20a.c: In function 'mcr20a_probe':
drivers/net/ieee802154/mcr20a.c:1347:13: error: implicit declaration of function 'irq_get_trigger_type'; did you mean 'irq_get_irqchip_state'? [-Werror=implicit-function-declaration]

This includes gpio/consumer.h and irq.h directly rather through the
gpiolib header.

Fixes: 8c6ad9cc5157 ("ieee802154: Add NXP MCR20A IEEE 802.15.4 transceiver driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Xue Liu <liuxuenetmail@gmail.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/mcr20a.c