Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 30 Jul 2007 00:25:22 +0000 (10:25 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 30 Jul 2007 00:37:45 +0000 (17:37 -0700)
Gabriel C reports lguest doesn't compile with CONFIG_BLOCK=n.  Fix this
by introducing a config var for the block device, which depends on
LGUEST && BLOCK.  Do the same for the net driver, rather then depending
gratuitously on CONFIG_NET.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Gabriel C <nix.or.die@googlemail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found