aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/display.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index 62e133ca4314..54e90352713b 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -98,7 +98,7 @@ static const struct omap_dss_hwmod_data omap4_dss_hwmod_data[] __initdata = {
98 { "dss_hdmi", "omapdss_hdmi", -1 }, 98 { "dss_hdmi", "omapdss_hdmi", -1 },
99}; 99};
100 100
101static void omap4_hdmi_mux_pads(enum omap_hdmi_flags flags) 101static void __init omap4_hdmi_mux_pads(enum omap_hdmi_flags flags)
102{ 102{
103 u32 reg; 103 u32 reg;
104 u16 control_i2c_1; 104 u16 control_i2c_1;
@@ -124,7 +124,7 @@ static void omap4_hdmi_mux_pads(enum omap_hdmi_flags flags)
124 } 124 }
125} 125}
126 126
127static int __init omap4_dsi_mux_pads(int dsi_id, unsigned lanes) 127static int omap4_dsi_mux_pads(int dsi_id, unsigned lanes)
128{ 128{
129 u32 enable_mask, enable_shift; 129 u32 enable_mask, enable_shift;
130 u32 pipd_mask, pipd_shift; 130 u32 pipd_mask, pipd_shift;
@@ -165,7 +165,7 @@ int __init omap_hdmi_init(enum omap_hdmi_flags flags)
165 return 0; 165 return 0;
166} 166}
167 167
168static int __init omap_dsi_enable_pads(int dsi_id, unsigned lane_mask) 168static int omap_dsi_enable_pads(int dsi_id, unsigned lane_mask)
169{ 169{
170 if (cpu_is_omap44xx()) 170 if (cpu_is_omap44xx())
171 return omap4_dsi_mux_pads(dsi_id, lane_mask); 171 return omap4_dsi_mux_pads(dsi_id, lane_mask);
@@ -173,7 +173,7 @@ static int __init omap_dsi_enable_pads(int dsi_id, unsigned lane_mask)
173 return 0; 173 return 0;
174} 174}
175 175
176static void __init omap_dsi_disable_pads(int dsi_id, unsigned lane_mask) 176static void omap_dsi_disable_pads(int dsi_id, unsigned lane_mask)
177{ 177{
178 if (cpu_is_omap44xx()) 178 if (cpu_is_omap44xx())
179 omap4_dsi_mux_pads(dsi_id, 0); 179 omap4_dsi_mux_pads(dsi_id, 0);