diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-03-11 11:18:32 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-03-11 11:18:32 -0400 |
commit | 908002161247e6e68c478052926b62d9a3d72418 (patch) | |
tree | dfba008f48ffd2ca6c34eff07105f6cd26eaf60e /drivers | |
parent | 0c01aed50d4844f54f59e875e05d211e80874464 (diff) |
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')
0 files changed, 0 insertions, 0 deletions