Al Viro 30037818f7 advansys fix on ISA-less configs
The code

        if (shost->dma_channel != NO_ISA_DMA)
                free_dma(shost->dma_channel);

in there is triggerable only if we have CONFIG_ISA (we only set ->dma_channel to
something other than NO_ISA_DMA under #ifdef CONFIG_ISA).  OTOH, free_dma() is
not guaranteed to be there in absense of CONFIG_ISA.  IOW, driver runs into
undefined symbols on PCI-but-not-ISA configs (e.g. on frv) and it's a false
positive.

Fix: put the entire if () under #ifdef CONFIG_ISA; behaviour doesn't change and
dependency on free_dma() disappears for !CONFIG_ISA.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-30 10:03:36 -08:00
..
2008-11-19 18:50:00 -08:00
2008-10-28 17:46:02 +09:00
2008-11-30 10:03:36 -08:00
2008-11-30 10:03:36 -08:00
2008-11-07 08:25:43 -08:00
2008-11-14 14:10:01 +01:00
2008-11-13 15:37:07 +09:00
2008-11-30 10:03:36 -08:00
2008-11-01 09:49:46 -07:00
2008-11-01 09:50:12 -07:00
2008-11-19 18:49:57 -08:00
2008-10-27 19:15:41 +01:00
2008-11-04 08:18:19 -08:00
2008-11-04 08:18:19 -08:00
2008-11-30 10:03:36 -08:00
2008-11-10 13:50:17 -08:00
2008-11-01 09:49:46 -07:00
2008-11-19 22:01:35 -08:00
2008-11-17 19:11:26 +01:00
2008-10-28 21:47:17 +00:00