summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-09-07 15:52:30 +0200
committerTakashi Iwai <tiwai@suse.de>2009-09-07 15:58:30 +0200
commitb8c60ede6abf8e96a892c114131700b0cfb0be89 (patch)
tree1c1172b9aa2a86a4e69bb59f2d57e484adbe4124 /include/sound
parent82a783f4bcb878e6c4f02e24c7cd0687bdea7443 (diff)
downloadlinux-b8c60ede6abf8e96a892c114131700b0cfb0be89.tar.bz2
ALSA: Remove unneeded ifdef from sound/core.h
Remove the old hack that was needed for building alsa-driver modules externally for old kernels. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/core.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sound/core.h b/include/sound/core.h
index 3bb07bc62255..f545efcf03f2 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -302,9 +302,7 @@ int snd_component_add(struct snd_card *card, const char *component);
int snd_card_file_add(struct snd_card *card, struct file *file);
int snd_card_file_remove(struct snd_card *card, struct file *file);
-#ifndef snd_card_set_dev
#define snd_card_set_dev(card, devptr) ((card)->dev = (devptr))
-#endif
/* device.c */
@@ -429,12 +427,10 @@ static inline int __snd_bug_on(int cond)
/* for easier backward-porting */
#if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)
-#ifndef gameport_set_dev_parent
#define gameport_set_dev_parent(gp,xdev) ((gp)->dev.parent = (xdev))
#define gameport_set_port_data(gp,r) ((gp)->port_data = (r))
#define gameport_get_port_data(gp) (gp)->port_data
#endif
-#endif
/* PCI quirk list helper */
struct snd_pci_quirk {