From patchwork Fri Jul 3 17:41:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11642555 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 635526C1 for ; Fri, 3 Jul 2020 17:48:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 32C26206B6 for ; Fri, 3 Jul 2020 17:48:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NozF5cfD"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Dl3E5r/+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 32C26206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8OTDlx+Rxd/sP9lLNsPj90XpuF+7hitJLlX5uL8XOrc=; b=NozF5cfD/7K345LidJ2d6B757 96uCgKjO7DCDyoICNk8pFnEZ1y6mBM30TujDKtxhJoQIDqnhtiF0Gj59VFr4hk1IBxDcCjzcbKzL8 oSNuwn/pWFh0ATal7d/n+6YPPzp3i/wfbXknwkJd6LS02R5FILVnHODzi+VRw5/iRYFEncK4/TAAC u3F0YkkmmMfS7TF62XJG/zf+5FR/GA8RAkIhomAhzssbmRATaEwoRW8PlccvHlEAhek086sJYKxDi sNC6jZGrWjcsQ8472iYpt6cAsS2/03PYKfFmoxr+L8emTo0xND5lsVr0LcI2dyF6X7ALivs9gFj4W qadDSkvFw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrPlb-0004hC-Uz; Fri, 03 Jul 2020 17:46:28 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrPi6-0002GN-8U for linux-arm-kernel@lists.infradead.org; Fri, 03 Jul 2020 17:42:54 +0000 Received: by mail-wr1-x444.google.com with SMTP id z15so22289664wrl.8 for ; Fri, 03 Jul 2020 10:42:49 -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=piaZjSKwN5mcD2WCsbLuxlkVKn2CDEU6jf4+7AdAFG0=; b=Dl3E5r/+ISNoKksiACvDF+AOJrMn8bNdiaS9+MMjXnyV7h+/tY761qxP6vpaTVO5hV m7KXm2vbCYtzbm/e6PB6/xlexgvuvMv3oDf8axHZks1ki2lYz/sQ7w+DyCufp4t32Pme Xbfd0e387SdGAJ9oE7JpPgQyS3h+Nutxu1tQoz0vTADACnL6ioQfDw+aA9HjCBXED5v4 g0b4fm2MWSHFmv8lLrjJQqZyfvkM73myX3Tj/9pWFpkuw0jo2WZNxJ5/GxdTXjsJUejg JZ8HaIXZf6UoZA4CWj2d/5xj2lDYNjttntoG3XyQ0pLG7APG05lj0DVBGSJEos+i/Isv V5bg== 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=piaZjSKwN5mcD2WCsbLuxlkVKn2CDEU6jf4+7AdAFG0=; b=GFucy5j+iM+lo+dBWCCiCs4DMITDIQFxfQumZHfXk92OkThEdUqT4wXoUTspMepPmd 81xI2kzq1CW/F1tSLXDttMEdkbk6yCz1F7L9Ye72EXijV7SIAFWY48sHQIvFzoR3ZGyZ oYrmDGqgqcrc+CuYq67hxpua7GwTdqUrRgZ0H7fc3hTwugHHyMK/xk6B+t1M0A1T00TH Jy+iXF0tFpdyhZnCjKaIcyDsGBhswiAEqSMyZgKzaOgNkGIfdQ+N6YcAI+ruqPp9DbS9 +vrMiTMtFR63G6I2J4vh/sT8VlZIngp2r0TotAbTwNzNvFTThBm912HLfIEurrfXW8Bj 2iVw== X-Gm-Message-State: AOAM532Dn4+EAQS0NXsXwGFgcVe3DOuIt9ynAkrOmc17N9wX8OLH6wGN KdY/NpSyO1l/zSmuw2AlnvoHRw== X-Google-Smtp-Source: ABdhPJxhEOpZuuHTnIVb62hGJQJQm3MlFDlRAJw3+Es5D9qbc2oy4oi5j5/PHHfCqHf75Lcu2tEXCg== X-Received: by 2002:a5d:4986:: with SMTP id r6mr36384666wrq.424.1593798168464; Fri, 03 Jul 2020 10:42:48 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id x11sm13625799wmc.26.2020.07.03.10.42.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2020 10:42:47 -0700 (PDT) From: Lee Jones To: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org Subject: [PATCH 21/30] usb: typec: altmodes: displayport: Supply missing displayport.h include file Date: Fri, 3 Jul 2020 18:41:39 +0100 Message-Id: <20200703174148.2749969-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200703174148.2749969-1-lee.jones@linaro.org> References: <20200703174148.2749969-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200703_134250_789841_D3EC41E6 X-CRM114-Status: GOOD ( 12.41 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heikki Krogerus , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org If the header file containing a function's prototype isn't included by the sourcefile containing the associated function, the build system complains of missing prototypes. Fixes the following W=1 kernel build warning(s): drivers/usb/typec/altmodes/displayport.c:511:5: warning: no previous prototype for ‘dp_altmode_probe’ [-Wmissing-prototypes] drivers/usb/typec/altmodes/displayport.c:551:6: warning: no previous prototype for ‘dp_altmode_remove’ [-Wmissing-prototypes] Cc: Heikki Krogerus Signed-off-by: Lee Jones --- drivers/usb/typec/altmodes/displayport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/typec/altmodes/displayport.c b/drivers/usb/typec/altmodes/displayport.c index d617663b981dd..7b20073d7fc0a 100644 --- a/drivers/usb/typec/altmodes/displayport.c +++ b/drivers/usb/typec/altmodes/displayport.c @@ -13,6 +13,7 @@ #include #include #include +#include "displayport.h" #define DP_HEADER(_dp, cmd) (VDO((_dp)->alt->svid, 1, cmd) | \ VDO_OPOS(USB_TYPEC_DP_MODE))