From patchwork Tue Feb 7 23:03:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9561395 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0CC8F60413 for ; Tue, 7 Feb 2017 23:06:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03AD228479 for ; Tue, 7 Feb 2017 23:06:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC5DE28488; Tue, 7 Feb 2017 23:06:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E58728479 for ; Tue, 7 Feb 2017 23:06:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932552AbdBGXGA (ORCPT ); Tue, 7 Feb 2017 18:06:00 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35965 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753849AbdBGXFa (ORCPT ); Tue, 7 Feb 2017 18:05:30 -0500 Received: by mail-wr0-f195.google.com with SMTP id k90so6837107wrc.3; Tue, 07 Feb 2017 15:04:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aJWEtj6OKYNDdbrWDSCsS/b3FQY3VNv8YNYUaficLPY=; b=KFE3HZh41HYcgbouG9L64IVq22ZZ/jsuSoE4ikndJHOedTFiW9k+rTdPHhpjOdZQh1 o6ypByf5ai/gO7kSu2FSgMPK2nNt1pxRVXvcWpPaWtBjvM6ZA0/h5Ly7AHffFg5cCrqR 3jkriKm8fThZvzl+lEdKDxV8/Az9T+DRquihym0fnxJBVk9sM5g+68UwQ7ncyrwEhqtB nejn770aBDVYBQicE6p4hIq5oVvkMdyXUDt0acgWSilxm4XzVJhzMfsgSV6ESJxKnbxg auElX4zV2xPJdHHNSnzC+/BeoEC8T8xYYTV2PvH7pI1CXHH5Cnl6ZwL9aBNpBKsbgyqg kE8g== 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; bh=aJWEtj6OKYNDdbrWDSCsS/b3FQY3VNv8YNYUaficLPY=; b=NWhqPcUt/MpxVbYpWvbHGAZ9clHx+JwoOMJ4Nl8En/EMWVisvV1G4JuMCwLmAtp9ys 8Uk2l/8PbdHfdk0F9xajIOG6phERLb7vBbK7DHY0GKGgiLFB9/iJcIxWLoqQ7h1Lb8qc l4y4Ya0b6KdRcgimRLh4Rwwdhw2eGUUWoa5o2MN5zZ7mlP1wLwurCR1CBfc2Hy/PlU7T ZwrDKOKcHoIyL7wHeX4shda+rqGOXurf1iSVznGv2VqHPU5FkiP185/VN49fFlrnf2Bw S4k3oszBmFTZIHliCyhdMNfxqSmNMGbwEF1tQcE7Vys1FC6VmFRoTLbsD6n+dnUcC1a9 5tjA== X-Gm-Message-State: AIkVDXJnrGuzaRdFXxcxqCc++7LjWuOFnrQIn8ybcpnPJnDdIsMuSB68W/VRqmg4T+B2Mg== X-Received: by 10.223.135.80 with SMTP id 16mr15296846wrz.182.1486508683590; Tue, 07 Feb 2017 15:04:43 -0800 (PST) Received: from fainelli-desktop.irv.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id b15sm9742283wra.4.2017.02.07.15.04.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2017 15:04:42 -0800 (PST) From: Florian Fainelli To: netdev@vger.kernel.org, linux-mips@linux-mips.org, linux-nfs@vger.kernel.org, linux-scsi@vger.kernel.org, linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, target-devel@vger.kernel.org Cc: Russell King , Andrew Lunn , Anna Schumaker , "David S. Miller" , Derek Chickles , Felix Manlunas , Florian Fainelli , "J. Bruce Fields" , Jeff Layton , Jiri Slaby , Kalle Valo , "Luis R. Rodriguez" , Madalin Bucur , Microchip Linux Driver Support , "Nicholas A. Bellinger" , Nick Kossifidis , Nicolas Ferre , Raghu Vatsavayi , Ralf Baechle , Satanand Burla , Thomas Petazzoni , Timur Tabi , Trond Myklebust , Vivien Didelot , Woojung Huh Subject: [PATCH net-next v2 07/12] net: mvneta: fix build errors when linux/phy*.h is removed from net/dsa.h Date: Tue, 7 Feb 2017 15:03:00 -0800 Message-Id: <20170207230305.18222-8-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170207230305.18222-1-f.fainelli@gmail.com> References: <20170207230305.18222-1-f.fainelli@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Russell King drivers/net/ethernet/marvell/mvneta.c:2694:26: error: storage size of 'status' isn't known drivers/net/ethernet/marvell/mvneta.c:2695:26: error: storage size of 'changed' isn't known drivers/net/ethernet/marvell/mvneta.c:2695:9: error: variable 'changed' has initializer but incomplete type drivers/net/ethernet/marvell/mvneta.c:2709:2: error: implicit declaration of function 'fixed_phy_update_state' [-Werror=implicit-function-declaration] Add linux/phy_fixed.h to mvneta.c Signed-off-by: Russell King Acked-by: Thomas Petazzoni --- drivers/net/ethernet/marvell/mvneta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index 0f4d1697be46..fdf71720e707 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include