Message ID | 1396591153-10924-4-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | affb74ad299631666e5bf1f455e3baa7035ea58f |
Headers | show |
On Fri, Apr 04, 2014 at 11:29:11AM +0530, Sachin Kamat wrote:
> of_match_ptr is defined in of.h. Include it explicitly.
Applied, thanks.
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index 68b4dd6..635363c 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c @@ -18,6 +18,7 @@ #include <linux/gpio.h> #include <linux/i2c.h> #include <linux/regmap.h> +#include <linux/of.h> #include <linux/of_gpio.h> #include <linux/platform_device.h> #include <linux/spi/spi.h>
of_match_ptr is defined in of.h. Include it explicitly. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- sound/soc/codecs/rt5640.c | 1 + 1 file changed, 1 insertion(+)