Commit 46d20c8d authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] remove version crap

parent 463e8ee2
...@@ -178,7 +178,7 @@ static inline dma_addr_t snd_sgbuf_get_addr(struct snd_sg_buf *sgbuf, size_t off ...@@ -178,7 +178,7 @@ static inline dma_addr_t snd_sgbuf_get_addr(struct snd_sg_buf *sgbuf, size_t off
/* /*
* wrappers * wrappers
*/ */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0)
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
#if defined(__i386__) || defined(__ppc__) || defined(__x86_64__) #if defined(__i386__) || defined(__ppc__) || defined(__x86_64__)
#define HACK_PCI_ALLOC_CONSISTENT #define HACK_PCI_ALLOC_CONSISTENT
...@@ -187,7 +187,6 @@ void *snd_pci_hack_alloc_consistent(struct pci_dev *hwdev, size_t size, ...@@ -187,7 +187,6 @@ void *snd_pci_hack_alloc_consistent(struct pci_dev *hwdev, size_t size,
dma_addr_t *dma_handle); dma_addr_t *dma_handle);
#endif /* arch */ #endif /* arch */
#endif /* CONFIG_PCI */ #endif /* CONFIG_PCI */
#endif /* LINUX >= 2.4.0 */
#endif /* __SOUND_MEMALLOC_H */ #endif /* __SOUND_MEMALLOC_H */
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