Re: [PATCH] bus: tegra-gmi: fix build error

From: Thierry Reding
Date: Tue Nov 08 2016 - 10:45:14 EST


On Tue, Nov 08, 2016 at 02:50:29PM +0100, Arnd Bergmann wrote:
> The newly added driver fails to build right away:
>
> drivers/bus/tegra-gmi.c: In function 'tegra_gmi_parse_dt':
> drivers/bus/tegra-gmi.c:97:11: error: 'dev' undeclared (first use in this function)
>
> I guess a last-minute change removed a local variable, this
> adds the obvious definiton.
>
> Fixes: 4f95e6a5c9e4 ("bus: Add support for Tegra Generic Memory Interface")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> drivers/bus/tegra-gmi.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

This got reported by the 0-day builder earlier. Turns out this slipped
through because my build setup failed to pick up the new configuration
option. I pushed a fix for this to the Tegra tree, so it should all be
good by tomorrow.

Thanks,
Thierry

Attachment: signature.asc
Description: PGP signature