From 83c51c0ab08f55468d8f5444ff2f70a36841a21f Mon Sep 17 00:00:00 2001 From: Rene Herman Date: Tue, 20 Mar 2007 11:33:46 +0100 Subject: [ALSA] isa_bus device/driver naming isa_bus: delete snd_ prefix from the (sysfs visible) device/driver names. Signed-off-by: Rene Herman Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- sound/isa/sb/sb16.c | 6 +++--- sound/isa/sb/sb8.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sound/isa/sb') diff --git a/sound/isa/sb/sb16.c b/sound/isa/sb/sb16.c index 8b734a23900..2a19b0a39ed 100644 --- a/sound/isa/sb/sb16.c +++ b/sound/isa/sb/sb16.c @@ -615,9 +615,9 @@ static int snd_sb16_isa_resume(struct device *dev, unsigned int n) #endif #ifdef SNDRV_SBAWE -#define SND_SB16_DRIVER "snd_sbawe" +#define DEV_NAME "sbawe" #else -#define SND_SB16_DRIVER "snd_sb16" +#define DEV_NAME "sb16" #endif static struct isa_driver snd_sb16_isa_driver = { @@ -629,7 +629,7 @@ static struct isa_driver snd_sb16_isa_driver = { .resume = snd_sb16_isa_resume, #endif .driver = { - .name = SND_SB16_DRIVER + .name = DEV_NAME }, }; diff --git a/sound/isa/sb/sb8.c b/sound/isa/sb/sb8.c index b7de1bc0e8a..a1b3786b391 100644 --- a/sound/isa/sb/sb8.c +++ b/sound/isa/sb/sb8.c @@ -239,7 +239,7 @@ static int snd_sb8_resume(struct device *dev, unsigned int n) } #endif -#define SND_SB8_DRIVER "snd_sb8" +#define DEV_NAME "sb8" static struct isa_driver snd_sb8_driver = { .match = snd_sb8_match, @@ -250,7 +250,7 @@ static struct isa_driver snd_sb8_driver = { .resume = snd_sb8_resume, #endif .driver = { - .name = SND_SB8_DRIVER + .name = DEV_NAME }, }; -- cgit v1.2.3-18-g5258