Unverified Commit 08dc0f5c authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

ASoC: soc-dapm: add prefix on soc_dapm_dev_attrs



soc_dapm_dev_attrs is global variable. Let's add snd_soc_ prefix.

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87ikkchis6.wl-kuninori.morimoto.gx@renesas.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9d33f9ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -685,7 +685,7 @@ int snd_soc_dapm_mux_update_power(struct snd_soc_dapm_context *dapm,
		struct snd_soc_dapm_update *update);

/* dapm sys fs - used by the core */
extern struct attribute *soc_dapm_dev_attrs[];
extern struct attribute *snd_soc_dapm_dev_attrs[];
void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm, struct dentry *parent);

/* dapm audio pin control and status */
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ static umode_t soc_dev_attr_is_visible(struct kobject *kobj,
}

static const struct attribute_group soc_dapm_dev_group = {
	.attrs = soc_dapm_dev_attrs,
	.attrs = snd_soc_dapm_dev_attrs,
	.is_visible = soc_dev_attr_is_visible,
};

+1 −1
Original line number Diff line number Diff line
@@ -2715,7 +2715,7 @@ static ssize_t dapm_widget_show(struct device *dev,

static DEVICE_ATTR_RO(dapm_widget);

struct attribute *soc_dapm_dev_attrs[] = {
struct attribute *snd_soc_dapm_dev_attrs[] = {
	&dev_attr_dapm_widget.attr,
	NULL
};