]> git.baikalelectronics.ru Git - kernel.git/commit
net: rfkill: add generic gpio rfkill driver
authorRhyland Klein <rklein@nvidia.com>
Mon, 16 May 2011 21:41:48 +0000 (14:41 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 May 2011 17:53:54 +0000 (13:53 -0400)
commitc53093caf65312b4ed5f2cc73cb3f4c04f1d0a41
treee0811eed20f2f636c217f719862a63b6652543b8
parent7115cbfc9264514f580ea94ade1af773749277e6
net: rfkill: add generic gpio rfkill driver

This adds a new generic gpio rfkill driver to support rfkill switches
which are controlled by gpios. The driver also supports passing in
data about the clock for the radio, so that when rfkill is blocking,
it can disable the clock.

This driver assumes platform data is passed from the board files to
configure it for specific devices.

Original-patch-by: Anantha Idapalapati <aidapalapati@nvidia.com>
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/rfkill-gpio.h [new file with mode: 0644]
net/rfkill/Kconfig
net/rfkill/Makefile
net/rfkill/rfkill-gpio.c [new file with mode: 0644]