diff options
Diffstat (limited to 'arch/sparc/include/asm/parport.h')
-rw-r--r-- | arch/sparc/include/asm/parport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/parport.h b/arch/sparc/include/asm/parport.h index 05df5f043053..3c5a1c620f0f 100644 --- a/arch/sparc/include/asm/parport.h +++ b/arch/sparc/include/asm/parport.h | |||
@@ -21,6 +21,7 @@ | |||
21 | */ | 21 | */ |
22 | #define HAS_DMA | 22 | #define HAS_DMA |
23 | 23 | ||
24 | #ifdef CONFIG_PARPORT_PC_FIFO | ||
24 | static DEFINE_SPINLOCK(dma_spin_lock); | 25 | static DEFINE_SPINLOCK(dma_spin_lock); |
25 | 26 | ||
26 | #define claim_dma_lock() \ | 27 | #define claim_dma_lock() \ |
@@ -31,6 +32,7 @@ static DEFINE_SPINLOCK(dma_spin_lock); | |||
31 | 32 | ||
32 | #define release_dma_lock(__flags) \ | 33 | #define release_dma_lock(__flags) \ |
33 | spin_unlock_irqrestore(&dma_spin_lock, __flags); | 34 | spin_unlock_irqrestore(&dma_spin_lock, __flags); |
35 | #endif | ||
34 | 36 | ||
35 | static struct sparc_ebus_info { | 37 | static struct sparc_ebus_info { |
36 | struct ebus_dma_info info; | 38 | struct ebus_dma_info info; |