diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-10-31 06:23:45 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-10-31 06:23:45 +0200 |
commit | 4918344953367f7d5d0253ee5b20f24e4fc37f46 (patch) | |
tree | 26d1f5e1e073d6204e82a9e83f346b576352e216 /sound | |
parent | f4d9cf5b57ceb3338c4b41a75eaa7c46ce826bf3 (diff) | |
download | history-4918344953367f7d5d0253ee5b20f24e4fc37f46.tar.gz |
Do not recompile if localversion changes
Changing localversion causes a few files to be recompiled, namely those who
include <version.h>. Replace <version.h> with <utsname.h> in a few places.
Long term solution is to split up <version.h> in two files.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/info.c b/sound/core/info.c index db1e2575fdf3ec..a62175cba2de11 100644 --- a/sound/core/info.c +++ b/sound/core/info.c @@ -28,7 +28,7 @@ #include <sound/core.h> #include <sound/minors.h> #include <sound/info.h> -#include <sound/version.h> +#include <sound/utsname.h> #include <linux/proc_fs.h> #include <linux/devfs_fs_kernel.h> #include <stdarg.h> @@ -959,7 +959,7 @@ static snd_info_entry_t *snd_info_version_entry = NULL; static void snd_info_version_read(snd_info_entry_t *entry, snd_info_buffer_t * buffer) { - static char *kernel_version = UTS_RELEASE; + static char *kernel_version = system_utsname.release; snd_iprintf(buffer, "Advanced Linux Sound Architecture Driver Version " CONFIG_SND_VERSION CONFIG_SND_DATE ".\n" |