diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2009-04-01 11:42:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:40 -0400 |
commit | 910cfee363feda81cd5af4939ed9e0d27677b43f (patch) | |
tree | 087842da1c06d12aaed471b38800e329ac9af01a /drivers/net/wireless/b43legacy/b43legacy.h | |
parent | 66174bbea0b9c5bd4b7d060fed26bf5ec912c422 (diff) |
b43legacy: 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: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy/b43legacy.h')
-rw-r--r-- | drivers/net/wireless/b43legacy/b43legacy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43legacy/b43legacy.h b/drivers/net/wireless/b43legacy/b43legacy.h index 97b0e06dfe21..4cdde4ad17c0 100644 --- a/drivers/net/wireless/b43legacy/b43legacy.h +++ b/drivers/net/wireless/b43legacy/b43legacy.h | |||
@@ -596,9 +596,11 @@ struct b43legacy_wl { | |||
596 | /* Stats about the wireless interface */ | 596 | /* Stats about the wireless interface */ |
597 | struct ieee80211_low_level_stats ieee_stats; | 597 | struct ieee80211_low_level_stats ieee_stats; |
598 | 598 | ||
599 | #ifdef CONFIG_B43LEGACY_HWRNG | ||
599 | struct hwrng rng; | 600 | struct hwrng rng; |
600 | u8 rng_initialized; | 601 | u8 rng_initialized; |
601 | char rng_name[30 + 1]; | 602 | char rng_name[30 + 1]; |
603 | #endif | ||
602 | 604 | ||
603 | /* The RF-kill button */ | 605 | /* The RF-kill button */ |
604 | struct b43legacy_rfkill rfkill; | 606 | struct b43legacy_rfkill rfkill; |