From: Stephen Warren Date: Wed, 18 Dec 2013 20:53:33 +0000 (-0700) Subject: drm/tegra: fix compile w/ CONFIG_DYNAMIC_DEBUG X-Git-Tag: v3.14-rc1~47^2~2^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81239c6f7972d4909a6862d08ed1d2943983ffd4;p=platform%2Fkernel%2Flinux-exynos.git drm/tegra: fix compile w/ CONFIG_DYNAMIC_DEBUG With CONFIG_DYNAMIC_DEBUG=y, the following 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: dec727399a4b ("drm/tegra: Add DSI support") Signed-off-by: Stephen Warren Signed-off-by: Thierry Reding --- diff --git a/drivers/gpu/drm/tegra/mipi-phy.c b/drivers/gpu/drm/tegra/mipi-phy.c index 1d2ad26..e2c4aed 100644 --- a/drivers/gpu/drm/tegra/mipi-phy.c +++ b/drivers/gpu/drm/tegra/mipi-phy.c @@ -20,6 +20,7 @@ * OF THIS SOFTWARE. */ +#include #include #include "mipi-phy.h"