aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2012-09-04 05:21:45 -0400
committerJaroslav Kysela <perex@perex.cz>2012-09-04 05:38:32 -0400
commit4266274836e81575ee82498d84f4bd08ab7a7378 (patch)
treec7bb4fb7c6bce157a9969af546ec22cb58e74c60 /sound
parent318e15101993c0fdc3f23f24ac61fc7769d27e68 (diff)
ALSA: remove the main version information
Remove the main ALSA version number from the kernel ALSA driver. The ALSA driver package release diverges from the upstream. This may confuse users to see the same ALSA version for many kernel releases and this version lost it's original purpose and connection. The "ioctl" APIs have own version numbers, so the user space may check for specific API changes only. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/core/info.c7
-rw-r--r--sound/core/info_oss.c3
-rw-r--r--sound/core/sound.c3
3 files changed, 5 insertions, 8 deletions
diff --git a/sound/core/info.c b/sound/core/info.c
index c1e611c65c8f..6b368d25073b 100644
--- a/sound/core/info.c
+++ b/sound/core/info.c
@@ -28,7 +28,7 @@
28#include <sound/core.h> 28#include <sound/core.h>
29#include <sound/minors.h> 29#include <sound/minors.h>
30#include <sound/info.h> 30#include <sound/info.h>
31#include <sound/version.h> 31#include <linux/utsname.h>
32#include <linux/proc_fs.h> 32#include <linux/proc_fs.h>
33#include <linux/mutex.h> 33#include <linux/mutex.h>
34#include <stdarg.h> 34#include <stdarg.h>
@@ -986,9 +986,8 @@ static struct snd_info_entry *snd_info_version_entry;
986static void snd_info_version_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) 986static void snd_info_version_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
987{ 987{
988 snd_iprintf(buffer, 988 snd_iprintf(buffer,
989 "Advanced Linux Sound Architecture Driver Version " 989 "Advanced Linux Sound Architecture Driver Version k%s.\n",
990 CONFIG_SND_VERSION CONFIG_SND_DATE ".\n" 990 init_utsname()->release);
991 );
992} 991}
993 992
994static int __init snd_info_version_init(void) 993static int __init snd_info_version_init(void)
diff --git a/sound/core/info_oss.c b/sound/core/info_oss.c
index cf42ab5080eb..83c29dbff9c0 100644
--- a/sound/core/info_oss.c
+++ b/sound/core/info_oss.c
@@ -26,7 +26,6 @@
26#include <sound/core.h> 26#include <sound/core.h>
27#include <sound/minors.h> 27#include <sound/minors.h>
28#include <sound/info.h> 28#include <sound/info.h>
29#include <sound/version.h>
30#include <linux/utsname.h> 29#include <linux/utsname.h>
31#include <linux/mutex.h> 30#include <linux/mutex.h>
32 31
@@ -94,7 +93,7 @@ static int snd_sndstat_show_strings(struct snd_info_buffer *buf, char *id, int d
94static void snd_sndstat_proc_read(struct snd_info_entry *entry, 93static void snd_sndstat_proc_read(struct snd_info_entry *entry,
95 struct snd_info_buffer *buffer) 94 struct snd_info_buffer *buffer)
96{ 95{
97 snd_iprintf(buffer, "Sound Driver:3.8.1a-980706 (ALSA v" CONFIG_SND_VERSION " emulation code)\n"); 96 snd_iprintf(buffer, "Sound Driver:3.8.1a-980706 (ALSA emulation code)\n");
98 snd_iprintf(buffer, "Kernel: %s %s %s %s %s\n", 97 snd_iprintf(buffer, "Kernel: %s %s %s %s %s\n",
99 init_utsname()->sysname, 98 init_utsname()->sysname,
100 init_utsname()->nodename, 99 init_utsname()->nodename,
diff --git a/sound/core/sound.c b/sound/core/sound.c
index 28f35593a750..643976000ce8 100644
--- a/sound/core/sound.c
+++ b/sound/core/sound.c
@@ -27,7 +27,6 @@
27#include <sound/core.h> 27#include <sound/core.h>
28#include <sound/minors.h> 28#include <sound/minors.h>
29#include <sound/info.h> 29#include <sound/info.h>
30#include <sound/version.h>
31#include <sound/control.h> 30#include <sound/control.h>
32#include <sound/initval.h> 31#include <sound/initval.h>
33#include <linux/kmod.h> 32#include <linux/kmod.h>
@@ -468,7 +467,7 @@ static int __init alsa_sound_init(void)
468 } 467 }
469 snd_info_minor_register(); 468 snd_info_minor_register();
470#ifndef MODULE 469#ifndef MODULE
471 printk(KERN_INFO "Advanced Linux Sound Architecture Driver Version " CONFIG_SND_VERSION CONFIG_SND_DATE ".\n"); 470 printk(KERN_INFO "Advanced Linux Sound Architecture Driver Initialized.\n");
472#endif 471#endif
473 return 0; 472 return 0;
474} 473}