[PATCH] x86_64: Make IRDA devices are not really ISA devices not depend on CONFIG_ISA

This allows to use them on x86-64

Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Andi Kleen 2005-04-16 15:24:56 -07:00 • committed by Linus Torvalds
commit b6d9a5d81c
3 changed files with 6 additions and 10 deletions

View file

@ -470,11 +470,10 @@ void irda_device_unregister_dongle(struct dongle_reg *dongle)
}
EXPORT_SYMBOL(irda_device_unregister_dongle);
#ifdef CONFIG_ISA
/*
* Function setup_dma (idev, buffer, count, mode)
*
* Setup the DMA channel. Commonly used by ISA FIR drivers
* Setup the DMA channel. Commonly used by LPC FIR drivers
*
*/
void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode)
@ -493,4 +492,3 @@ void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode)
release_dma_lock(flags);
}
EXPORT_SYMBOL(irda_setup_dma);
#endif