]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: fix compile w/ CONFIG_DYNAMIC_DEBUG
authorStephen Warren <swarren@nvidia.com>
Wed, 18 Dec 2013 20:53:33 +0000 (13:53 -0700)
committerThierry Reding <treding@nvidia.com>
Fri, 20 Dec 2013 14:56:33 +0000 (15:56 +0100)
commit0e7e66fb8843f0b68f501a394760a4246d4f1565
treef1cbe07262b1ebfcfbe9459ae079774f8d28043e
parent59f6af870249323abc33c04cae2bb04b8e7d1493
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: c810ddd6bbbf ("drm/tegra: Add DSI support")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/mipi-phy.c