]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite42e8ba6782f00e7addc1bb66053cfee54069841
treef18f0a1ff1ac43f9f83fa3ee3508005e83259566
parente426f286814b7891c76f87f25fcd7f9511515508
Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

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>
drivers/block/Makefile
drivers/lguest/Kconfig
drivers/net/Makefile