aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda/irda_device.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-04-16 18:24:56 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:24:56 -0400
commitb6d9a5d81c6159ad651b5c6bb9223d14e33d8033 (patch)
tree68c06cad51517a312ba720f37610f8380f084efd /net/irda/irda_device.c
parent1e01441051dda3bb01c455b6e20bce6d00563d82 (diff)
[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>
Diffstat (limited to 'net/irda/irda_device.c')
-rw-r--r--net/irda/irda_device.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/irda/irda_device.c b/net/irda/irda_device.c
index 9b9bb003c5a9..d6ccd3239dcf 100644
--- a/net/irda/irda_device.c
+++ b/net/irda/irda_device.c
@@ -470,11 +470,10 @@ void irda_device_unregister_dongle(struct dongle_reg *dongle)
470} 470}
471EXPORT_SYMBOL(irda_device_unregister_dongle); 471EXPORT_SYMBOL(irda_device_unregister_dongle);
472 472
473#ifdef CONFIG_ISA
474/* 473/*
475 * Function setup_dma (idev, buffer, count, mode) 474 * Function setup_dma (idev, buffer, count, mode)
476 * 475 *
477 * Setup the DMA channel. Commonly used by ISA FIR drivers 476 * Setup the DMA channel. Commonly used by LPC FIR drivers
478 * 477 *
479 */ 478 */
480void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode) 479void 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)
493 release_dma_lock(flags); 492 release_dma_lock(flags);
494} 493}
495EXPORT_SYMBOL(irda_setup_dma); 494EXPORT_SYMBOL(irda_setup_dma);
496#endif