tegra: video: Move the check for CONFIG_OF_CONTROL to Kconfig
We can check this in Kconfig now. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
@@ -51,10 +51,6 @@ vidinfo_t panel_info = {
|
||||
.vl_col = -1,
|
||||
};
|
||||
|
||||
#if !CONFIG_IS_ENABLED(OF_CONTROL)
|
||||
#error "You must enable CONFIG_OF_CONTROL to get Tegra LCD support"
|
||||
#endif
|
||||
|
||||
static void update_window(struct dc_ctlr *dc, struct disp_ctl_win *win)
|
||||
{
|
||||
unsigned h_dda, v_dda;
|
||||
|
||||
Reference in New Issue
Block a user