lib/scatterlist.o needed by a module only - link it in unconditionally
authorGuennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Fri, 8 Feb 2008 23:00:47 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 23:33:33 +0000 (15:33 -0800)
commit4600ecfcf3ad160ac0c6fcff6115f6edb081ccfa
tree2a145a6eadfdef4c627fab12ccbf17678a03e887
parent3a984a85050e320993f87ba47a22973f32853206
lib/scatterlist.o needed by a module only - link it in unconditionally

lib/scatterlist.c is needed by drivers/media/video/videobuf-dma-sg.c, and
we would like to be able to use the latter without PCI too, for example, on
PXA270 ARM CPU.  It is then possible to create a configuration with
CONFIG_BLOCK=n, where only module code will need scatterlist.c.  Therefore
it must be in obj-y.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Makefile