From patchwork Tue Feb 7 23:02:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9561385 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 E059A60413 for ; Tue, 7 Feb 2017 23:06:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D516128488 for ; Tue, 7 Feb 2017 23:06:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C92FE28494; Tue, 7 Feb 2017 23:06:19 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 4EC2828488 for ; Tue, 7 Feb 2017 23:06:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755655AbdBGXGL (ORCPT ); Tue, 7 Feb 2017 18:06:11 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35948 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752943AbdBGXFa (ORCPT ); Tue, 7 Feb 2017 18:05:30 -0500 Received: by mail-wr0-f195.google.com with SMTP id k90so6836930wrc.3; Tue, 07 Feb 2017 15:04:37 -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=Fq5YDQRnfYdiR70kAxqjIuPzTf++t/xYs3DHOBXrckI=; b=mCfZBGHWxeXlncOskOZmwcuAZYgjYRgRK1ydXx3mp+TcfdbF9hvRFubl5kzKd3rMYC 3GbaKoB6GQmKiSpv77uWuBYaUdTlBm40cbF81YXAXPEfVYJ/GgN/4/+en6sGFFcInVsN VRhTT3T9B4KQcnO4CFP1NuZEaJlxM+iFdL31+6EAN1gqZcxx1ea6bdQMStNujAGv+g/i qYcjPUsr4upuYCPS6CoQTAarT8y8W//u/xIeeSCYsSTGHhyQNht1fiC8WHHiIdRozpFs OPLwaAkP9nf1u5fU5/l4hw4BI5YnIe0kOB4f/HXy2xsBGig27uI0eWSKTOwhI8pL6mNo 7eZg== 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=Fq5YDQRnfYdiR70kAxqjIuPzTf++t/xYs3DHOBXrckI=; b=PJi7Hk/L/Rvaq6Mi/YBBFNp6/vsS/Fe3RGj64n6bxncfbz2YvmHcKl3XnPY6c9Uh/X 3stBfS7toxqx8rVuT1HNbyVf8isDAs627eaODNqmh4madqClCOOfovb/Cvb7CV2Z5K4b sbeYJlPTMMAu0W+HYkUQGssC7maDuwT45lpnoLEkbiO6fbH4L2ui64Wc4XMyaCRze+Tq 05sACxUpEvVxLBuI5gXOIHNo/jjHpN+WzjTcK9P6MDmW0r7sOmnPJVan0/jDPzSiAX4O JP3NHf19N/ct6v7/MW+eYosDYXrtTQbJet7P6DfOu21mZUPZZ0QbGuDnwlYhvo4N1HdS /qXg== X-Gm-Message-State: AMke39mJYF6czB6Q29r0vo2dKe2GHmkjunLO0pjpFm49UIDTs4XaSJRjDxCyj4CqZjUHkw== X-Received: by 10.223.146.228 with SMTP id 91mr16167050wrn.203.1486508676870; Tue, 07 Feb 2017 15:04:36 -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.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2017 15:04:36 -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 06/12] net: fman: fix build errors when linux/phy*.h is removed from net/dsa.h Date: Tue, 7 Feb 2017 15:02:59 -0800 Message-Id: <20170207230305.18222-7-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: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: target-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Russell King drivers/net/ethernet/freescale/fman/fman_memac.c:519:21: error: dereferencing pointer to incomplete type 'struct fixed_phy_status' Add linux/phy_fixed.h to fman_memac.c Signed-off-by: Russell King --- drivers/net/ethernet/freescale/fman/fman_memac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c index 71a5ded9d1de..cd6a53eaf161 100644 --- a/drivers/net/ethernet/freescale/fman/fman_memac.c +++ b/drivers/net/ethernet/freescale/fman/fman_memac.c @@ -38,6 +38,7 @@ #include #include #include +#include #include /* PCS registers */