Commit d699fbed authored by David S. Miller's avatar David S. Miller Committed by David S. Miller

[IRDA]: Protect IDA dma stuff with CONFIG_ISA.

parent ee95ee17
...@@ -532,6 +532,7 @@ int irda_device_set_mode(struct net_device* dev, int mode) ...@@ -532,6 +532,7 @@ int irda_device_set_mode(struct net_device* dev, int mode)
return ret; return ret;
} }
#ifdef CONFIG_ISA
/* /*
* Function setup_dma (idev, buffer, count, mode) * Function setup_dma (idev, buffer, count, mode)
* *
...@@ -553,3 +554,4 @@ void setup_dma(int channel, char *buffer, int count, int mode) ...@@ -553,3 +554,4 @@ void setup_dma(int channel, char *buffer, int count, int mode)
release_dma_lock(flags); release_dma_lock(flags);
} }
#endif
...@@ -167,7 +167,9 @@ EXPORT_SYMBOL(async_unwrap_char); ...@@ -167,7 +167,9 @@ EXPORT_SYMBOL(async_unwrap_char);
EXPORT_SYMBOL(irda_calc_crc16); EXPORT_SYMBOL(irda_calc_crc16);
EXPORT_SYMBOL(irda_crc16_table); EXPORT_SYMBOL(irda_crc16_table);
EXPORT_SYMBOL(irda_start_timer); EXPORT_SYMBOL(irda_start_timer);
#ifdef CONFIG_ISA
EXPORT_SYMBOL(setup_dma); EXPORT_SYMBOL(setup_dma);
#endif
EXPORT_SYMBOL(infrared_mode); EXPORT_SYMBOL(infrared_mode);
#ifdef CONFIG_IRTTY #ifdef CONFIG_IRTTY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment