diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-05-03 00:05:44 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-06-20 20:37:42 +0200 |
commit | b64a02c6fa184405ac2de0ea048be2f342144a08 (patch) | |
tree | 710f1c477a67b63eac0399d4667b1d5fe9bdf82d /arch/arm/mach-tegra/board.h | |
parent | ARM: tegra: harmony: init regulators, PCIe when booting from DT (diff) | |
download | linux-b64a02c6fa184405ac2de0ea048be2f342144a08.tar.xz linux-b64a02c6fa184405ac2de0ea048be2f342144a08.zip |
ARM: tegra: paz00: enable WiFi rfkill when booting from device tree
There currently aren't bindings for a WiFi rfkill button, and defining
a good binding is non-trivial. Manually register this "device" when
booting from device tree, in order to bring DT support to the same
feature level as board files, which will in turn allow board files to be
deprecated.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board.h')
-rw-r--r-- | arch/arm/mach-tegra/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h index 097e0e16eacd..f88e5143c767 100644 --- a/arch/arm/mach-tegra/board.h +++ b/arch/arm/mach-tegra/board.h @@ -53,5 +53,7 @@ int __init harmony_pcie_init(void); static inline int harmony_pcie_init(void) { return 0; } #endif +void __init tegra_paz00_wifikill_init(void); + extern struct sys_timer tegra_timer; #endif |