diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-03-29 13:19:31 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:29 -0400 |
commit | 616de35da94df8748771a014ef898360d5f4d0c8 (patch) | |
tree | 69c38769384816051cd6dce12b611c49809bc9d8 /drivers/net/wireless/b43/b43.h | |
parent | a57e2e84b65d1b89c4b1effeceb27b181226b950 (diff) | |
download | blackbird-op-linux-616de35da94df8748771a014ef898360d5f4d0c8.tar.gz blackbird-op-linux-616de35da94df8748771a014ef898360d5f4d0c8.zip |
b43: Do not "select" HW_RANDOM
Auto-depend on HW_RANDOM, rather than "select"ing it.
This way the user has the choice to enable or disable HWRNG support.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r-- | drivers/net/wireless/b43/b43.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index beaf18d6e8a7..cc1db7e5c664 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h @@ -625,9 +625,11 @@ struct b43_wl { /* Stats about the wireless interface */ struct ieee80211_low_level_stats ieee_stats; +#ifdef CONFIG_B43_HWRNG struct hwrng rng; - u8 rng_initialized; + bool rng_initialized; char rng_name[30 + 1]; +#endif /* CONFIG_B43_HWRNG */ /* The RF-kill button */ struct b43_rfkill rfkill; |