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)
commit7176ba23f8b589b1df3229574ff46fb904ce9ec5
treee0811eed20f2f636c217f719862a63b6652543b8
parentc6820f1e6c8273ca4b8f94c2354193d19e1a5c47
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]