projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
286d31f
)
ASoC: ac97: fix parent assignment
author
Linus Walleij
<linus.walleij@linaro.org>
Mon, 7 Dec 2015 12:32:28 +0000
(13:32 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 7 Dec 2015 12:32:28 +0000
(13:32 +0100)
Upstream GPIO has substituted .dev for .parent in struct gpio_chip.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
sound/soc/soc-ac97.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/soc-ac97.c
b/sound/soc/soc-ac97.c
index ae563e379a7244410882adaa8b67e6a34298f663..a2012652f212c9ab40be29f375b37891397252dd 100644
(file)
--- a/
sound/soc/soc-ac97.c
+++ b/
sound/soc/soc-ac97.c
@@
-142,7
+142,7
@@
static int snd_soc_ac97_init_gpio(struct snd_ac97 *ac97,
gpio_priv->codec = codec;
gpio_priv->gpio_chip = snd_soc_ac97_gpio_chip;
gpio_priv->gpio_chip.ngpio = AC97_NUM_GPIOS;
- gpio_priv->gpio_chip.
dev
= codec->dev;
+ gpio_priv->gpio_chip.
parent
= codec->dev;
gpio_priv->gpio_chip.base = -1;
ret = gpiochip_add(&gpio_priv->gpio_chip);
This page took
0.024833 seconds
and
5
git commands to generate.