diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-03-29 07:19:31 -0400 |
---|---|---|
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) |
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 { | |||
625 | /* Stats about the wireless interface */ | 625 | /* Stats about the wireless interface */ |
626 | struct ieee80211_low_level_stats ieee_stats; | 626 | struct ieee80211_low_level_stats ieee_stats; |
627 | 627 | ||
628 | #ifdef CONFIG_B43_HWRNG | ||
628 | struct hwrng rng; | 629 | struct hwrng rng; |
629 | u8 rng_initialized; | 630 | bool rng_initialized; |
630 | char rng_name[30 + 1]; | 631 | char rng_name[30 + 1]; |
632 | #endif /* CONFIG_B43_HWRNG */ | ||
631 | 633 | ||
632 | /* The RF-kill button */ | 634 | /* The RF-kill button */ |
633 | struct b43_rfkill rfkill; | 635 | struct b43_rfkill rfkill; |