Skip to content

Commit 349abfe

Browse files
author
Fox Snowpatch
committed
1 parent 5165c17 commit 349abfe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sound/aoa/soundbus/core.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static void soundbus_device_shutdown(struct device *dev)
127127

128128
/* soundbus_dev_attrs is declared in sysfs.c */
129129
ATTRIBUTE_GROUPS(soundbus_dev);
130-
static struct bus_type soundbus_bus_type = {
130+
static const struct bus_type soundbus_bus_type = {
131131
.name = "aoa-soundbus",
132132
.probe = soundbus_probe,
133133
.uevent = soundbus_uevent,

sound/core/seq_device.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static int snd_seq_bus_match(struct device *dev, struct device_driver *drv)
4949
sdrv->argsize == sdev->argsize;
5050
}
5151

52-
static struct bus_type snd_seq_bus_type = {
52+
static const struct bus_type snd_seq_bus_type = {
5353
.name = "snd_seq",
5454
.match = snd_seq_bus_match,
5555
};

0 commit comments

Comments
 (0)