Commit 1e3d88df authored by Archit Taneja's avatar Archit Taneja Committed by Srinivas Kandagatla
Browse files

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 func if CONFIG_OF is enabled. Define a dummy func
otherwise.

Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
parent fc77dbd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment