aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/sb
diff options
context:
space:
mode:
authorRene Herman <rene.herman@gmail.com>2007-03-20 06:33:46 -0400
committerJaroslav Kysela <perex@suse.cz>2007-05-11 10:55:50 -0400
commit83c51c0ab08f55468d8f5444ff2f70a36841a21f (patch)
treeb961dfec390caeb84fb065ee67000b8cac3fd12c /sound/isa/sb
parente4b6088c8cf16781f7f7b887811b164daf625968 (diff)
[ALSA] isa_bus device/driver naming
isa_bus: delete snd_ prefix from the (sysfs visible) device/driver names. Signed-off-by: Rene Herman <rene.herman@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/isa/sb')
-rw-r--r--sound/isa/sb/sb16.c6
-rw-r--r--sound/isa/sb/sb8.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sound/isa/sb/sb16.c b/sound/isa/sb/sb16.c
index 8b734a239008..2a19b0a39eda 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)
615#endif 615#endif
616 616
617#ifdef SNDRV_SBAWE 617#ifdef SNDRV_SBAWE
618#define SND_SB16_DRIVER "snd_sbawe" 618#define DEV_NAME "sbawe"
619#else 619#else
620#define SND_SB16_DRIVER "snd_sb16" 620#define DEV_NAME "sb16"
621#endif 621#endif
622 622
623static struct isa_driver snd_sb16_isa_driver = { 623static struct isa_driver snd_sb16_isa_driver = {
@@ -629,7 +629,7 @@ static struct isa_driver snd_sb16_isa_driver = {
629 .resume = snd_sb16_isa_resume, 629 .resume = snd_sb16_isa_resume,
630#endif 630#endif
631 .driver = { 631 .driver = {
632 .name = SND_SB16_DRIVER 632 .name = DEV_NAME
633 }, 633 },
634}; 634};
635 635
diff --git a/sound/isa/sb/sb8.c b/sound/isa/sb/sb8.c
index b7de1bc0e8a4..a1b3786b391e 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)
239} 239}
240#endif 240#endif
241 241
242#define SND_SB8_DRIVER "snd_sb8" 242#define DEV_NAME "sb8"
243 243
244static struct isa_driver snd_sb8_driver = { 244static struct isa_driver snd_sb8_driver = {
245 .match = snd_sb8_match, 245 .match = snd_sb8_match,
@@ -250,7 +250,7 @@ static struct isa_driver snd_sb8_driver = {
250 .resume = snd_sb8_resume, 250 .resume = snd_sb8_resume,
251#endif 251#endif
252 .driver = { 252 .driver = {
253 .name = SND_SB8_DRIVER 253 .name = DEV_NAME
254 }, 254 },
255}; 255};
256 256