Commit 94c38225 authored by Lee Jones's avatar Lee Jones Committed by Daniel Vetter

drm/sti/sti_tvout: Provide a bunch of missing function names

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/sti/sti_tvout.c:166: warning: expecting prototype for Set the clipping mode of a VIP(). Prototype was for tvout_vip_set_color_order() instead
 drivers/gpu/drm/sti/sti_tvout.c:187: warning: expecting prototype for Set the clipping mode of a VIP(). Prototype was for tvout_vip_set_clip_mode() instead
 drivers/gpu/drm/sti/sti_tvout.c:203: warning: expecting prototype for Set the rounded value of a VIP(). Prototype was for tvout_vip_set_rnd() instead
 drivers/gpu/drm/sti/sti_tvout.c:223: warning: expecting prototype for Select the VIP input(). Prototype was for tvout_vip_set_sel_input() instead
 drivers/gpu/drm/sti/sti_tvout.c:258: warning: expecting prototype for Select the input video signed or unsigned(). Prototype was for tvout_vip_set_in_vid_fmt() instead
 drivers/gpu/drm/sti/sti_tvout.c:274: warning: expecting prototype for Set preformatter matrix(). Prototype was for tvout_preformatter_set_matrix() instead
 drivers/gpu/drm/sti/sti_tvout.c:299: warning: expecting prototype for Start VIP block for DVO output(). Prototype was for tvout_dvo_start() instead
 drivers/gpu/drm/sti/sti_tvout.c:353: warning: expecting prototype for Start VIP block for HDMI output(). Prototype was for tvout_hdmi_start() instead
 drivers/gpu/drm/sti/sti_tvout.c:402: warning: expecting prototype for Start HDF VIP and HD DAC(). Prototype was for tvout_hda_start() instead

Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Vincent Abriou <vincent.abriou@st.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210602143300.2330146-8-lee.jones@linaro.org
parent 8fb84ac8
...@@ -153,7 +153,7 @@ static void tvout_write(struct sti_tvout *tvout, u32 val, int offset) ...@@ -153,7 +153,7 @@ static void tvout_write(struct sti_tvout *tvout, u32 val, int offset)
} }
/** /**
* Set the clipping mode of a VIP * tvout_vip_set_color_order - Set the clipping mode of a VIP
* *
* @tvout: tvout structure * @tvout: tvout structure
* @reg: register to set * @reg: register to set
...@@ -177,7 +177,7 @@ static void tvout_vip_set_color_order(struct sti_tvout *tvout, int reg, ...@@ -177,7 +177,7 @@ static void tvout_vip_set_color_order(struct sti_tvout *tvout, int reg,
} }
/** /**
* Set the clipping mode of a VIP * tvout_vip_set_clip_mode - Set the clipping mode of a VIP
* *
* @tvout: tvout structure * @tvout: tvout structure
* @reg: register to set * @reg: register to set
...@@ -193,7 +193,7 @@ static void tvout_vip_set_clip_mode(struct sti_tvout *tvout, int reg, u32 range) ...@@ -193,7 +193,7 @@ static void tvout_vip_set_clip_mode(struct sti_tvout *tvout, int reg, u32 range)
} }
/** /**
* Set the rounded value of a VIP * tvout_vip_set_rnd - Set the rounded value of a VIP
* *
* @tvout: tvout structure * @tvout: tvout structure
* @reg: register to set * @reg: register to set
...@@ -209,7 +209,7 @@ static void tvout_vip_set_rnd(struct sti_tvout *tvout, int reg, u32 rnd) ...@@ -209,7 +209,7 @@ static void tvout_vip_set_rnd(struct sti_tvout *tvout, int reg, u32 rnd)
} }
/** /**
* Select the VIP input * tvout_vip_set_sel_input - Select the VIP input
* *
* @tvout: tvout structure * @tvout: tvout structure
* @reg: register to set * @reg: register to set
...@@ -247,7 +247,7 @@ static void tvout_vip_set_sel_input(struct sti_tvout *tvout, ...@@ -247,7 +247,7 @@ static void tvout_vip_set_sel_input(struct sti_tvout *tvout,
} }
/** /**
* Select the input video signed or unsigned * tvout_vip_set_in_vid_fmt - Select the input video signed or unsigned
* *
* @tvout: tvout structure * @tvout: tvout structure
* @reg: register to set * @reg: register to set
...@@ -264,7 +264,7 @@ static void tvout_vip_set_in_vid_fmt(struct sti_tvout *tvout, ...@@ -264,7 +264,7 @@ static void tvout_vip_set_in_vid_fmt(struct sti_tvout *tvout,
} }
/** /**
* Set preformatter matrix * tvout_preformatter_set_matrix - Set preformatter matrix
* *
* @tvout: tvout structure * @tvout: tvout structure
* @mode: display mode structure * @mode: display mode structure
...@@ -289,7 +289,7 @@ static void tvout_preformatter_set_matrix(struct sti_tvout *tvout, ...@@ -289,7 +289,7 @@ static void tvout_preformatter_set_matrix(struct sti_tvout *tvout,
} }
/** /**
* Start VIP block for DVO output * tvout_dvo_start - Start VIP block for DVO output
* *
* @tvout: pointer on tvout structure * @tvout: pointer on tvout structure
* @main_path: true if main path has to be used in the vip configuration * @main_path: true if main path has to be used in the vip configuration
...@@ -343,7 +343,7 @@ static void tvout_dvo_start(struct sti_tvout *tvout, bool main_path) ...@@ -343,7 +343,7 @@ static void tvout_dvo_start(struct sti_tvout *tvout, bool main_path)
} }
/** /**
* Start VIP block for HDMI output * tvout_hdmi_start - Start VIP block for HDMI output
* *
* @tvout: pointer on tvout structure * @tvout: pointer on tvout structure
* @main_path: true if main path has to be used in the vip configuration * @main_path: true if main path has to be used in the vip configuration
...@@ -392,7 +392,7 @@ static void tvout_hdmi_start(struct sti_tvout *tvout, bool main_path) ...@@ -392,7 +392,7 @@ static void tvout_hdmi_start(struct sti_tvout *tvout, bool main_path)
} }
/** /**
* Start HDF VIP and HD DAC * tvout_hda_start - Start HDF VIP and HD DAC
* *
* @tvout: pointer on tvout structure * @tvout: pointer on tvout structure
* @main_path: true if main path has to be used in the vip configuration * @main_path: true if main path has to be used in the vip configuration
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment