]> git.baikalelectronics.ru Git - kernel.git/commit
staging/wilc1000: turn enable_irq/disable_irq into callbacks
authorArnd Bergmann <arnd@arndb.de>
Mon, 16 Nov 2015 14:05:06 +0000 (15:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:19:20 +0000 (14:19 -0800)
commit1d2ee3916b69a7b6a727683786fdeec02307feb3
treee8f8585a21cea0820db75a8bc994a88c4f650d6f
parentd7721f8431677ab07bc5ae04fae425474434abc3
staging/wilc1000: turn enable_irq/disable_irq into callbacks

As a preparation for turning the SDIO side of wilc1000 into a separate
module, this removes the last direct caller from the core module into
the sdio specific portion. All calls to wilc_sdio_enable_interrupt()
and wilc_sdio_disable_interrupt() now go through a function pointer
in wilc_hif_func. We also change arguments slightly to pass the device,
as we are already touching those lines and the change will be needed
later to remove the global variables.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/linux_wlan_sdio.c
drivers/staging/wilc1000/linux_wlan_sdio.h
drivers/staging/wilc1000/wilc_sdio.c
drivers/staging/wilc1000/wilc_wlan.h