diff options
Diffstat (limited to 'sound/hda/hda_bus_type.c')
-rw-r--r-- | sound/hda/hda_bus_type.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/hda/hda_bus_type.c b/sound/hda/hda_bus_type.c index eea6b63f8305..cce2c30511a2 100644 --- a/sound/hda/hda_bus_type.c +++ b/sound/hda/hda_bus_type.c @@ -65,7 +65,7 @@ static int hda_bus_match(struct device *dev, struct device_driver *drv) return 1; } -static int hda_uevent(struct device *dev, struct kobj_uevent_env *env) +static int hda_uevent(const struct device *dev, struct kobj_uevent_env *env) { char modalias[32]; @@ -76,7 +76,7 @@ static int hda_uevent(struct device *dev, struct kobj_uevent_env *env) return 0; } -struct bus_type snd_hda_bus_type = { +const struct bus_type snd_hda_bus_type = { .name = "hdaudio", .match = hda_bus_match, .uevent = hda_uevent, |