diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 11:22:43 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:28:52 -0500 |
commit | 27441127b086230cc4c57d6cd9a615272fb47bcd (patch) | |
tree | 83ef28d69ec9b3699ddf28eec2e79745c002cfa8 /include | |
parent | ebfbd2b83da14c7118da0efd1b59d8b641da08c2 (diff) |
[ALSA] Remove snd_legacy_auto_probe()
Modules: ALSA Core
Remove unsed snd_legacy_auto_probe() function.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/initval.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/sound/initval.h b/include/sound/initval.h index 2bf1508825a4..d29e3d31d149 100644 --- a/include/sound/initval.h +++ b/include/sound/initval.h | |||
@@ -50,20 +50,6 @@ | |||
50 | #define SNDRV_DEFAULT_DMA_SIZE { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_DMA_SIZE } | 50 | #define SNDRV_DEFAULT_DMA_SIZE { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_DMA_SIZE } |
51 | #define SNDRV_DEFAULT_PTR SNDRV_DEFAULT_STR | 51 | #define SNDRV_DEFAULT_PTR SNDRV_DEFAULT_STR |
52 | 52 | ||
53 | #ifdef SNDRV_LEGACY_AUTO_PROBE | ||
54 | static int snd_legacy_auto_probe(unsigned long *ports, int (*probe)(unsigned long port)) | ||
55 | { | ||
56 | int result = 0; /* number of detected cards */ | ||
57 | |||
58 | while ((signed long)*ports != -1) { | ||
59 | if (probe(*ports) >= 0) | ||
60 | result++; | ||
61 | ports++; | ||
62 | } | ||
63 | return result; | ||
64 | } | ||
65 | #endif | ||
66 | |||
67 | #ifdef SNDRV_LEGACY_FIND_FREE_IRQ | 53 | #ifdef SNDRV_LEGACY_FIND_FREE_IRQ |
68 | #include <linux/interrupt.h> | 54 | #include <linux/interrupt.h> |
69 | 55 | ||