[PATCH] drm/tegra: fix compile w/ CONFIG_DYNAMIC_DEBUG

Thierry Reding thierry.reding at gmail.com
Thu Dec 19 00:32:41 PST 2013


On Wed, Dec 18, 2013 at 01:53:33PM -0700, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> With CONFIG_DYNAMIC_DEBUG=y, the followin compile error occurs:
> 
> drivers/gpu/drm/tegra/mipi-phy.c: In function ‘mipi_dphy_timing_validate’:
> drivers/gpu/drm/tegra/mipi-phy.c:69:11: error: ‘EINVAL’ undeclared (first use in this function)
> drivers/gpu/drm/tegra/mipi-phy.c:69:11: note: each undeclared identifier is reported only once for each function it appears in
> 
> Fix this by directly including the header that defines EINVAL.
> 
> Fixes: 39aa0a4f3be5 ("drm/tegra: Add DSI support")
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>  drivers/gpu/drm/tegra/mipi-phy.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks. I've fixed up the "Fixes:" tag since the commit hash
was no longer valid.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131219/1b95ee01/attachment.pgp>


More information about the dri-devel mailing list