diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-08-06 15:31:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-16 14:39:48 -0400 |
commit | 84c164a34ffe67908a932a2d641ec1a80c2d5435 (patch) | |
tree | 5fe5cac69497ef54d765e6fa2faaabef431ae8ee /include/linux/pm.h | |
parent | 13eb670c104e15e06d38f3a210cfaf467a9c66de (diff) | |
download | linux-84c164a34ffe67908a932a2d641ec1a80c2d5435.tar.gz linux-84c164a34ffe67908a932a2d641ec1a80c2d5435.tar.bz2 linux-84c164a34ffe67908a932a2d641ec1a80c2d5435.zip |
b43: move hwrng registration driver to wireless core initialization
...and unregistration to core shutdown. Previously, the driver
remained registered even when the hardware was shutdown. That
causes the driver to return -ENODEV if the b43 device is IFF_DOWN.
This change causes the driver to disappear in that case, allowing
/dev/hwrng to still function if another hwrng device is available.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/pm.h')
0 files changed, 0 insertions, 0 deletions