• Alexander Viro's avatar
    [PATCH] sparse: tms380tr.c fix · 9e0ebf74
    Alexander Viro authored
    	tms380tr is used both by ISA and PCI drivers.  Enabling/disabling
    DMA is done only for ISA ones (it's protected by if (dev->dma > 0) and
    PCI ones leave it 0), but it's compiled unconditionally.  Which breaks
    on platforms that don't have that ISA crap at all, but support PCI just
    fine.  Code in question placed under ifdef CONFIG_ISA.
    9e0ebf74
tms380tr.c 63.2 KB