diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-31 06:47:09 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 16:03:10 +0300 |
commit | 150c5afe5bafa90e4fe398e59af32ad3cdbfe5b7 (patch) | |
tree | 15188b7974860d263fb7e5a0a19123a8897a63d4 /drivers/sound/max98095.c | |
parent | 95795ad6cef37b29fcba5365860a8fa9c2f43898 (diff) | |
download | u-boot-150c5afe5bafa90e4fe398e59af32ad3cdbfe5b7.tar.xz |
dm: gpio: Add live tree support
Add support for requesting GPIOs with a live device tree.
This involves adjusting the function signature for the legacy function
gpio_request_by_name_nodev(), so fix up all callers.
Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes to stm32f746-disco.c:
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/sound/max98095.c')
-rw-r--r-- | drivers/sound/max98095.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/sound/max98095.c b/drivers/sound/max98095.c index 35829f88c9..7c37bd0701 100644 --- a/drivers/sound/max98095.c +++ b/drivers/sound/max98095.c @@ -9,6 +9,8 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + +#include <common.h> #include <asm/arch/clk.h> #include <asm/arch/cpu.h> #include <asm/arch/power.h> |