[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151116033607.GV25173@localhost>
Date: Mon, 16 Nov 2015 09:06:07 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: dmaengine@...r.kernel.org, Dan Williams <dan.j.williams@...el.com>,
linux-kernel@...r.kernel.org,
Peter Ujfalusi <peter.ujfalusi@...com>,
linux-arm-kernel@...ts.infradead.org, Sekhar Nori <nsekhar@...com>,
Kevin Hilman <khilman@...prootsystems.com>,
linux-omap@...r.kernel.org
Subject: Re: [PATCH] dmaengine: edma: fix build without CONFIG_OF
On Tue, Nov 03, 2015 at 03:00:57PM +0100, Arnd Bergmann wrote:
> During the edma rework, a build error was introduced for the
> case that CONFIG_OF is disabled:
>
> drivers/built-in.o: In function `edma_tc_set_pm_state':
> :(.text+0x43bf0): undefined reference to `of_find_device_by_node'
>
> As the edma_tc_set_pm_state() function does nothing in case
> we are running without OF, this adds an IS_ENABLED() check
> that turns the function into an empty stub then and avoids the
> link error.
Applied, thanks
--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists