commit | fc903ebd50d0396b5de1ff614a009c2ddcb3222c | [log] [tgz] |
---|---|---|
author | Archit Taneja <architt@codeaurora.org> | Fri Feb 12 14:48:30 2016 +0530 |
committer | Thierry Reding <treding@nvidia.com> | Wed Mar 02 16:59:04 2016 +0100 |
tree | 2851754f4330fefaccfa46cbfff5edd5897bcb47 | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d [diff] |
drm/dsi: Check for CONFIG_OF when defining of_mipi_dsi_device_add() of_mipi_dsi_device_add() is used only when CONFIG_OF is enabled. It currently works if OF support is disabled, but this will change when we add more functionality to it. Define the original function if CONFIG_OF is enabled and a dummy function otherwise. Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Thierry Reding <treding@nvidia.com>