Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07549dfb authored by Rob Clark's avatar Rob Clark
Browse files

drm/msm/edp: fix build warning - missing prototype



Fix build warning when building edp/edp_aux.o due to missing
prototype for edp_aux_transfer.

This function is only used in edp_aux.c so just make it static.

Reported-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent a7c07690
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -115,7 +115,8 @@ static int edp_msg_fifo_rx(struct edp_aux *aux, struct drm_dp_aux_msg *msg)
 * msm_edp_aux_ctrl() running concurrently in other threads, i.e.
 * start transaction only when AUX channel is fully enabled.
 */
ssize_t edp_aux_transfer(struct drm_dp_aux *drm_aux, struct drm_dp_aux_msg *msg)
static ssize_t edp_aux_transfer(struct drm_dp_aux *drm_aux,
		struct drm_dp_aux_msg *msg)
{
	struct edp_aux *aux = to_edp_aux(drm_aux);
	ssize_t ret;