Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6463460ybe; Wed, 18 Sep 2019 04:03:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqydXquzO6mzKECaQWYIQbl8Rmi3WHEnAx0H518bZ5SJVkEKQ6YuLESInToOuCuSPXIE/MIT X-Received: by 2002:aa7:d844:: with SMTP id f4mr1193353eds.269.1568804593535; Wed, 18 Sep 2019 04:03:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568804593; cv=none; d=google.com; s=arc-20160816; b=PbAxsDcxzforzYVOjnIY0T3WOdMdXdz3XFzV3ba0+jck4Se+VdiC7ZTi7j9MwJMof1 b+hVgq3CHnsBiAOBZ+u2616F7Pn0bZ5FxsFYXF2xyKeFwB0f7DMmyfDN7FlRJvTZtxsy cNyF8ADm8qTR/u00RB2iWw+4w8ETTqeZY3rr+QqtakWiFtyJQRZTwLQ958wyVH076S9y YKqVTqsPn3OApiKk2CXy7gB9S9U4Nbyvui7ClaFtWp5G5XGpCOGEU6heYLpjBScwVi89 VcP/vw0hqV9w1kjEMj3FbY4vj44Q1LC9UHOL8RQWPzSVimMuzhIHqGEREJETAmp6/4LP 3oSA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AYPHPztI5FNBhe8htlTANJxYTINNbSHpZvAwX3pGlZ4=; b=ZNzFSwL+qqrnsJv9Rq9N4MTU5z/UIfLPJzDG1uNJut1/mmI8nJ5ah6yyTZEF22SD0C IGEMF7Sr4mDY2tFWWNQS8jBxk424DYEb5JtV76irUtrRl9P+9i9pRPJcslJBLrlcrHe5 ALIw5OzOfPP8Tz0bqKZYh5/6C07E3BEMuhDy9cH6h6Hz/SHOFtxnhHhkGHrZ/peYRvkY VGqFecRm0TuolVxzamiPI3KnRdeO8twPlFP1py5N/IBs886Yv6Jcno+IMuRfj6xcL4LO hiYAFIO8ymFro0KCCGqFDPsqNzU4KHZGYCC3Yohf85oabkD6kOP/VwYwlTHzVKxTuOah SWQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pXxcoZjL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b26si208595edy.108.2019.09.18.04.02.46; Wed, 18 Sep 2019 04:03:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pXxcoZjL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729911AbfIRGYq (ORCPT + 99 others); Wed, 18 Sep 2019 02:24:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:45284 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729870AbfIRGYn (ORCPT ); Wed, 18 Sep 2019 02:24:43 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1C71A218AF; Wed, 18 Sep 2019 06:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568787882; bh=AzxsXXZ+4rwsMsucUf565KiJ1jMGaniIf3q1kRZYdb8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pXxcoZjLy/0+KPN7RTe3LG6KRr2XOhclUU4ZJbusirh2Tfe0tdWT2L/gGlRMGa806 wHRidZYek4V4G8at9bHhr3w5M26wiDWozsP4PQEBWxDOTC3K/DcT6F3mHpcdyFzVzL HnlxTiJPKcu3AFaZ/m0hq/nhyw8liMhdhebp7DuE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Moritz Fischer , Florian Fainelli , "David S. Miller" Subject: [PATCH 5.2 19/85] net: fixed_phy: Add forward declaration for struct gpio_desc; Date: Wed, 18 Sep 2019 08:18:37 +0200 Message-Id: <20190918061234.756865751@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190918061234.107708857@linuxfoundation.org> References: <20190918061234.107708857@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Moritz Fischer [ Upstream commit ebe26aca98fcf9fbe5017b5cbe216413cee69df5 ] Add forward declaration for struct gpio_desc in order to address the following: ./include/linux/phy_fixed.h:48:17: error: 'struct gpio_desc' declared inside parameter list [-Werror] ./include/linux/phy_fixed.h:48:17: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] Fixes: 71bd106d2567 ("net: fixed-phy: Add fixed_phy_register_with_gpiod() API") Signed-off-by: Moritz Fischer Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- include/linux/phy_fixed.h | 1 + 1 file changed, 1 insertion(+) --- a/include/linux/phy_fixed.h +++ b/include/linux/phy_fixed.h @@ -11,6 +11,7 @@ struct fixed_phy_status { }; struct device_node; +struct gpio_desc; #if IS_ENABLED(CONFIG_FIXED_PHY) extern int fixed_phy_change_carrier(struct net_device *dev, bool new_carrier);