aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/display.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index c42df111c9d2..7c6011df80a8 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -74,6 +74,15 @@ static const struct omap_dss_hwmod_data omap4_dss_hwmod_data[] __initdata = {
74 { "dss_hdmi", "omapdss_hdmi", -1 }, 74 { "dss_hdmi", "omapdss_hdmi", -1 },
75}; 75};
76 76
77static int omap_dsi_enable_pads(int dsi_id, unsigned lane_mask)
78{
79 return 0;
80}
81
82static void omap_dsi_disable_pads(int dsi_id, unsigned lane_mask)
83{
84}
85
77int __init omap_display_init(struct omap_dss_board_info *board_data) 86int __init omap_display_init(struct omap_dss_board_info *board_data)
78{ 87{
79 int r = 0; 88 int r = 0;
@@ -96,6 +105,11 @@ int __init omap_display_init(struct omap_dss_board_info *board_data)
96 oh_count = ARRAY_SIZE(omap4_dss_hwmod_data); 105 oh_count = ARRAY_SIZE(omap4_dss_hwmod_data);
97 } 106 }
98 107
108 if (board_data->dsi_enable_pads == NULL)
109 board_data->dsi_enable_pads = omap_dsi_enable_pads;
110 if (board_data->dsi_disable_pads == NULL)
111 board_data->dsi_disable_pads = omap_dsi_disable_pads;
112
99 pdata.board_data = board_data; 113 pdata.board_data = board_data;
100 pdata.board_data->get_context_loss_count = 114 pdata.board_data->get_context_loss_count =
101 omap_pm_get_dev_context_loss_count; 115 omap_pm_get_dev_context_loss_count;