libertas: if_spi: add ability to call board specific setup/teardown methods
authorMike Rapoport <mike@compulab.co.il>
Tue, 3 Feb 2009 07:04:20 +0000 (09:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Feb 2009 20:03:48 +0000 (15:03 -0500)
commit0c2bec96945ccfc4a58a88d73531e392972ba6c5
treec3bfabe4cc063031e0a647f519499d9053099ec0
parentd43e87868f67c5b52defd8d82bc3f54347ed2408
libertas: if_spi: add ability to call board specific setup/teardown methods

In certain cases it is required to perform board specific actions
before activating libertas G-SPI interface. These actions may include
power up of the chip, GPIOs setup, proper pin-strapping and SPI
controller config.
This patch adds ability to call board specific setup/teardown methods

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Andrey Yurovsky <andrey@cozybit.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_spi.c
include/linux/spi/libertas_spi.h