1
0
Fork 0

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: dec727399a ("drm/tegra: Add DSI support")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
hifive-unleashed-5.1
Stephen Warren 2013-12-18 13:53:33 -07:00 committed by Thierry Reding
parent 3800391db1
commit 81239c6f79
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@
* OF THIS SOFTWARE.
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include "mipi-phy.h"