aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-05-24 05:14:13 -0400
committerTakashi Iwai <tiwai@suse.de>2018-05-24 05:14:13 -0400
commit96961fa048cf2eef2b53cbc26313629937198996 (patch)
tree46280e13940932807e4299d12c8b278d2990b302
parent45e5fbc27387eb7c6b2fa300cedf79106e6f84c3 (diff)
ALSA: memalloc: Drop superfluous ifndef
Drop the superfluous #ifndef check in memalloc.h that had been put just for allowing building the alsa-driver kernel modules externally. Since the external build was discontinued years ago, let's clean up the old kludges. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/sound/memalloc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/memalloc.h b/include/sound/memalloc.h
index 782d1df34208..9c3db3dce32b 100644
--- a/include/sound/memalloc.h
+++ b/include/sound/memalloc.h
@@ -34,11 +34,9 @@ struct snd_dma_device {
34 struct device *dev; /* generic device */ 34 struct device *dev; /* generic device */
35}; 35};
36 36
37#ifndef snd_dma_pci_data
38#define snd_dma_pci_data(pci) (&(pci)->dev) 37#define snd_dma_pci_data(pci) (&(pci)->dev)
39#define snd_dma_isa_data() NULL 38#define snd_dma_isa_data() NULL
40#define snd_dma_continuous_data(x) ((struct device *)(__force unsigned long)(x)) 39#define snd_dma_continuous_data(x) ((struct device *)(__force unsigned long)(x))
41#endif
42 40
43 41
44/* 42/*