Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2610885ybt; Mon, 22 Jun 2020 02:47:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxM/nqJCV2StpjPsIrlzsDqes21ScsUOGY+XMoCjcYrl903QvrFEYnx2U9E9jTrqHoLvJur X-Received: by 2002:aa7:c598:: with SMTP id g24mr16446728edq.132.1592819265954; Mon, 22 Jun 2020 02:47:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592819265; cv=none; d=google.com; s=arc-20160816; b=u+0IWSUQcPycoPupbiCSyNklBwv9fLBaMs1l8Md64cW7KKS+Yl0B9xgDLpLYkELbEN SIRrqAelObAuVYbmIRkXUrcY9ReNa24lZUHsY6Of//PYfZg9INtMTZQ4HgVQqItuEjVx YWRqyfsd8ERU1Wh2MI4fccSPT0CGhRca5zbhxRe/HeMeyuunFggkdNWUms/o9QGoR5ca /Vc5MgiEeNtoBvo+4JVflfJi6B+yFtmmUrbPR6nduA1TfpHvwp9/JBKZ88riiK11H2Td lAhFpHhkbyAAyXY7AWe0Em3oPXcTtq+wC57UGeNh6Kl9VcHRVferze/n/oM3JzcfJkQc 4TDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mOzBIeRVdsbICiHu3pBzNsfTlUAFWbCE1cSbRbG1tJ8=; b=R+I28sW7NvR6acan2kEttYlYhBn13sUo+WYM/o5CunD5HpTBR3YEHYQc2xgVAB9IzY bs4aAkEJ4vh/T6UxN4GrYArGnyAJKyvQhjyiF+hlpLSalY6lka+UZuoFEzML0g2O5yyO Zw6vUoguvxnLCHFM4spPsu4W+RFPZmCHlV0HU3a4kgi7xS1VLEmh0kkksaeTWep14XWZ UvwWqyR7dq1xLXRTPK51UMAjOuzxP698B8psB7bnxWzg4BaUd1s3KfzIzeZUI7Fwdfji 2TT1oTxsnzj03UIuL5nr9hWDUW0iRqCORzBOFN0JHtfhoeK9o2R2ma8PDu1831dSmcOC FOCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=JaPBL52s; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si346310edy.595.2020.06.22.02.47.23; Mon, 22 Jun 2020 02:47:45 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=JaPBL52s; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727091AbgFVJlg (ORCPT + 99 others); Mon, 22 Jun 2020 05:41:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726972AbgFVJla (ORCPT ); Mon, 22 Jun 2020 05:41:30 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F7EAC06179A for ; Mon, 22 Jun 2020 02:41:30 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id g18so6882044wrm.2 for ; Mon, 22 Jun 2020 02:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mOzBIeRVdsbICiHu3pBzNsfTlUAFWbCE1cSbRbG1tJ8=; b=JaPBL52s4sikmFvHY2AeWFMdnIt4op0dMdw+2FQiSixTq4d3+bBSRsdwR810I4r17W Dc1Sq8XgKmuI3/9qeQSaRigNEUtgpr3V54J04DIfxrMUrogAvx9GOjtxzTIREfdMQfH/ ZIoRTVgzdEw7FUgW+wJfkmEOOAhCW69U1CPS7FhzT/GuIAsc5CiRXTTEG/mAZov3cV1/ Kw2v4DduJlhcgiBk0rJIlyn1FmnjOS6Kg1a7IMwNMqUETbLfpnIxgx6hHvx4LD/zZ23w MiFdp3RuROPF6Vz8gGOhgj1XQ/lErO7eajC9HU+kNQCI4qgh6cJgSRDclHcQ/M0Q+ZK0 akZg== 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=mOzBIeRVdsbICiHu3pBzNsfTlUAFWbCE1cSbRbG1tJ8=; b=l8vDxFRLKVwB2iN9tnQi2DLeLokeQb46E40HdRp4S8pRKP2H4wJ3n1bD+dtPTIEvBj Uf3SxcbSepRth61EzQxz84aZEogrlngoouC7iY1xMCOARYB8d4QfJau15MwT/5wjqKhb ViU14Cj4n3anDMXciYb6GdUT/h0EACefyQt5EvD/uUJ2FlVH/Rv4FubKrfZzW2a2vbz9 2O2dlNKEqGpAvuTygD70L5T7aRTGQ6RED42dOP95UO4hok9MI1Km5YgSXZX8jpSEcInd mioXjeraPimIbWN0IBDq4309jqGqejocRAjPOacI68ObZt4lIh+EikX4LVzCEaaEswal o2lQ== X-Gm-Message-State: AOAM532CpH3AyHgEKhbp8fBlJ5E/MoHypCmhTbdrbsSwyfJzRWDPa+gK PzCjJ9WFlA70z8n8cVBOqVrGuQ== X-Received: by 2002:adf:f608:: with SMTP id t8mr3023154wrp.308.1592818889179; Mon, 22 Jun 2020 02:41:29 -0700 (PDT) Received: from localhost.localdomain (lfbn-nic-1-65-232.w2-15.abo.wanadoo.fr. [2.15.156.232]) by smtp.gmail.com with ESMTPSA id j24sm14392652wrd.43.2020.06.22.02.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 02:41:28 -0700 (PDT) From: Bartosz Golaszewski To: Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Rob Herring , Matthias Brugger , Microchip Linux Driver Support , Vladimir Oltean , Claudiu Manoil , Alexandre Belloni , Vivien Didelot , Tom Lendacky , Yisen Zhuang , Salil Mehta , Jassi Brar , Ilias Apalodimas , Iyappan Subramanian , Keyur Chudgar , Quan Nguyen , Frank Rowand , Philipp Zabel , Liam Girdwood , Mark Brown Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Fabien Parent , Stephane Le Provost , Pedro Tsai , Andrew Perepech , Bartosz Golaszewski Subject: [PATCH 04/15] net: mdio: add a forward declaration for reset_control to mdio.h Date: Mon, 22 Jun 2020 11:37:33 +0200 Message-Id: <20200622093744.13685-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200622093744.13685-1-brgl@bgdev.pl> References: <20200622093744.13685-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski This header refers to struct reset_control but doesn't include any reset header. The structure definition is probably somehow indirectly pulled in since no warnings are reported but for the sake of correctness add the forward declaration for struct reset_control. Signed-off-by: Bartosz Golaszewski --- include/linux/mdio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mdio.h b/include/linux/mdio.h index 36d2e0673d03..9ac5e7ff6156 100644 --- a/include/linux/mdio.h +++ b/include/linux/mdio.h @@ -17,6 +17,7 @@ #define MII_REGADDR_C45_MASK GENMASK(15, 0) struct gpio_desc; +struct reset_control; struct mii_bus; /* Multiple levels of nesting are possible. However typically this is -- 2.26.1