diff mbox

[1/3] ASoC: rt5677: Include gpio driver header

Message ID 1412372246-10489-1-git-send-email-benzh@chromium.org (mailing list archive)
State Accepted
Commit 80fff6bf65dcae62255bdb592603dfc247c8cacf
Headers show

Commit Message

Ben Zhang Oct. 3, 2014, 9:37 p.m. UTC
The header file is needed because struct gpio_chip is
placed in struct rt5677_priv.

Signed-off-by: Ben Zhang <benzh@chromium.org>
---
 sound/soc/codecs/rt5677.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown Oct. 7, 2014, 7:36 p.m. UTC | #1
On Fri, Oct 03, 2014 at 02:37:24PM -0700, Ben Zhang wrote:
> The header file is needed because struct gpio_chip is
> placed in struct rt5677_priv.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5677.h b/sound/soc/codecs/rt5677.h
index d4eb6d5..99fd023 100644
--- a/sound/soc/codecs/rt5677.h
+++ b/sound/soc/codecs/rt5677.h
@@ -13,6 +13,7 @@ 
 #define __RT5677_H__
 
 #include <sound/rt5677.h>
+#include <linux/gpio/driver.h>
 
 /* Info */
 #define RT5677_RESET				0x00