Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp716343pxj; Thu, 20 May 2021 20:54:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDx6if7okCxn2p/6qW4H6zHS4yCk+D053jbA3qPK/fnOs5o4Gjzx/5MpgLBXLQzW3O1gci X-Received: by 2002:a05:6402:34c8:: with SMTP id w8mr8636354edc.243.1621569286172; Thu, 20 May 2021 20:54:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621569286; cv=none; d=google.com; s=arc-20160816; b=ui4mJFa33pARXbQIK40MwK/QUnH3mwxaQT1XZNvMcojSCUeoLG0dH0CAcpCNVY4WMo SHV/NM09LiSV3NxeNNU5oPi/o8EhjcyiwHkCuaAvMFJYcxO6OKu3NuHprImcvP/LE3b4 E2Crkf4lMey9F2jSSwib324hfuc41sihRIGi+Kz/9xvzB76QWT61AZf5Cz0DaIZkKC7a JdhxcSKem/lOjNT+U8CBSA1YDEaEePEATg+RJk6Csa5p1GgwVTvr6Lr5e+vCyhm8aDq6 O0q+CoN6fleOCNFHU+MwGvDZev9uPpsUx2haS7Pap38wmUB6fYMC7t/7YcyAsnr3RCoW D8SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KjGrcIOD2Z+Nhsp7UBZvNxk73/3NibtTsjxqFhOCaZQ=; b=t4ZhjmZxacLncTFkCWjfge7EawTXuG0/dcdugVbSFKcG1vgx+xRWpHBJNsXJAZDDSl DthGyG+PsK+OTNl0O0Nfpt/yk8PAc3ZDNKkiKZb4tPcMHks+tDCAL2Z7BvxdBmLYBCdN ybwdv90c8+vKHWv6WHhImwTleiLLCNq0dlxqcrLSoFRZ1BSyviXYtueofhIN4fVseUys dU4KmQpEN2dch7Hfc0UHeVck2vUHNjqSKqSKiCZspPYVDVmCKczWJV6ytp8EiGohi/LA UWkVmOMKwJltOO7D2niPSnPaiAWYlGyRMFjBsKV4wtl8SEplOQJGSpxr6b4n/0+xdKyt MyUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FMzN/CHJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn20si4972296ejc.549.2021.05.20.20.54.22; Thu, 20 May 2021 20:54:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FMzN/CHJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242495AbhETMnz (ORCPT + 99 others); Thu, 20 May 2021 08:43:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240046AbhETMnN (ORCPT ); Thu, 20 May 2021 08:43:13 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D17EC05648B for ; Thu, 20 May 2021 05:03:00 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id u4-20020a05600c00c4b02901774b80945cso5256519wmm.3 for ; Thu, 20 May 2021 05:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KjGrcIOD2Z+Nhsp7UBZvNxk73/3NibtTsjxqFhOCaZQ=; b=FMzN/CHJmshI/NQz++l0IJRPt4s1P1GNc6wJzd8MPovbpNd3uiwbNxSWzv0C2eZLBx K9VQ1GT03tkGy9oMFZ8cj8IAixY2iWf8gxxujQf1tHI4Sc4CEECTE4C/OwQ2SefBLGdP aRNftdpa0v3glpO8xyg96cLd/6ggfX+p0JOOCrUbzooZf+vDMu/hcfMywf7C5j2m/eJi 45c4ECLS6Eqz0sdbzM+twmrT7UcDJKdCbKYAMuEhsP9FMVlIALqeK2iUCVA751o7ixHS RchM6Whnl7jbMPOWjMKJCB87oX3FOAMNLmZU9kOY+3CnN6Q09hg669xcyLPmHcNDCLs1 dA0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KjGrcIOD2Z+Nhsp7UBZvNxk73/3NibtTsjxqFhOCaZQ=; b=OzaVYLA/xlWvi7YotQhU5u3G+3onNQOJuWzX1LjnzJNLDib80sD9VgE9edeXApNRP5 LS2ADC5lK4KoPhaw8OAlEeG5XSBlepNxDGvPdT2DGWxymxdtrBEvWP9jRPpP9qQheKJ5 L7tKvKFeLMzqOaNGFuaUa10B33YJAufOHXCnZGcSCvp1999sEkckfkJV14D5fbnJczCF tvXd9bLSJ/um/Zc6e6qUdgk6tCerZVAc6/hCGmUmQhy7Dj2fXu7ZEn1qCfDeRXc+dghK yNVI4V/QGwod2nzC68PPvpalqAI7Sn8N0NNdtmDKTk+bM25StuEvWIdwqlowOMIMDN+9 yRiw== X-Gm-Message-State: AOAM530FBZp+nWHdBu1TsnNnlL1S2ybSbdlPJ/3y4bRjm0sO+kyDErfV uujP7bIFKTStp1i5HWuCfnhiww== X-Received: by 2002:a1c:cc12:: with SMTP id h18mr3234734wmb.141.1621512179138; Thu, 20 May 2021 05:02:59 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm2886332wrt.32.2021.05.20.05.02.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:02:58 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Benjamin Gaignard , David Airlie , Daniel Vetter , Fabien Dessenne , dri-devel@lists.freedesktop.org Subject: [PATCH 07/38] drm/sti/sti_hda: Provide missing function names Date: Thu, 20 May 2021 13:02:17 +0100 Message-Id: <20210520120248.3464013-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520120248.3464013-1-lee.jones@linaro.org> References: <20210520120248.3464013-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/sti/sti_hda.c:283: warning: expecting prototype for Search for a video mode in the supported modes table(). Prototype was for hda_get_mode_idx() instead drivers/gpu/drm/sti/sti_hda.c:301: warning: expecting prototype for Enable the HD DACS(). Prototype was for hda_enable_hd_dacs() instead drivers/gpu/drm/sti/sti_hda.c:383: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Benjamin Gaignard Cc: David Airlie Cc: Daniel Vetter Cc: Fabien Dessenne Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/sti/sti_hda.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c index 5c2b650b561d5..03f3377f918c0 100644 --- a/drivers/gpu/drm/sti/sti_hda.c +++ b/drivers/gpu/drm/sti/sti_hda.c @@ -272,7 +272,7 @@ static void hda_write(struct sti_hda *hda, u32 val, int offset) } /** - * Search for a video mode in the supported modes table + * hda_get_mode_idx - Search for a video mode in the supported modes table * * @mode: mode being searched * @idx: index of the found mode @@ -292,7 +292,7 @@ static bool hda_get_mode_idx(struct drm_display_mode mode, int *idx) } /** - * Enable the HD DACS + * hda_enable_hd_dacs - Enable the HD DACS * * @hda: pointer to HD analog structure * @enable: true if HD DACS need to be enabled, else false @@ -380,7 +380,7 @@ static void hda_debugfs_init(struct sti_hda *hda, struct drm_minor *minor) } /** - * Configure AWG, writing instructions + * sti_hda_configure_awg - Configure AWG, writing instructions * * @hda: pointer to HD analog structure * @awg_instr: pointer to AWG instructions table -- 2.31.1