summaryrefslogtreecommitdiffstats
path: root/sound/firewire/digi00x
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2020-03-06 22:52:29 +0900
committerTakashi Iwai <tiwai@suse.de>2020-03-06 15:54:03 +0100
commit9c0d16ac059148fc7647f5f9e90df6f34d3439f0 (patch)
treee1a2abacfac1946cec98c02634c52a54214da3eb /sound/firewire/digi00x
parentd0ee674bb5d3787ca0122c5ae8e52680de0e7c52 (diff)
downloadlinux-stable-9c0d16ac059148fc7647f5f9e90df6f34d3439f0.tar.gz
linux-stable-9c0d16ac059148fc7647f5f9e90df6f34d3439f0.tar.bz2
linux-stable-9c0d16ac059148fc7647f5f9e90df6f34d3439f0.zip
ALSA: firewire: use KBUILD_MODNAME for struct driver.name instead of string
KBUILD_MODNAME is available to name kernel modules according to its object name. This commit uses the macro instead of string for name field of struct driver since drivers in ALSA firewire stack have the same name of each object name. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20200306135229.11659-1-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/digi00x')
-rw-r--r--sound/firewire/digi00x/digi00x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/digi00x/digi00x.c b/sound/firewire/digi00x/digi00x.c
index 1f5fc0e7c024..c84b913a9fe0 100644
--- a/sound/firewire/digi00x/digi00x.c
+++ b/sound/firewire/digi00x/digi00x.c
@@ -192,7 +192,7 @@ MODULE_DEVICE_TABLE(ieee1394, snd_dg00x_id_table);
static struct fw_driver dg00x_driver = {
.driver = {
.owner = THIS_MODULE,
- .name = "snd-firewire-digi00x",
+ .name = KBUILD_MODNAME,
.bus = &fw_bus_type,
},
.probe = snd_dg00x_probe,