[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 <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
1e01441051
commit
b6d9a5d81c
@@ -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
|
||||
|
Reference in New Issue
Block a user