mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[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:
parent
1e01441051
commit
b6d9a5d81c
3 changed files with 6 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue