diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-03-11 23:18:32 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-03-11 23:18:32 +0800 |
commit | 908002161247e6e68c478052926b62d9a3d72418 (patch) | |
tree | dfba008f48ffd2ca6c34eff07105f6cd26eaf60e /drivers/char/hw_random | |
parent | 0c01aed50d4844f54f59e875e05d211e80874464 (diff) | |
download | linux-908002161247e6e68c478052926b62d9a3d72418.tar.bz2 |
nlattr: Fix build error with NET off
We moved the netlink attribute support from net to lib in order
for it to be available for general consumption. However, parts
of the code (the bits that we don't need :) really depends on
NET because the target object is sk_buff.
This patch fixes this by wrapping them in CONFIG_NET.
Some EXPORTs have been moved to make this work.
Tested-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random')
0 files changed, 0 insertions, 0 deletions