From patchwork Tue Feb 7 23:02:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9561463 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 C49F960413 for ; Tue, 7 Feb 2017 23:12:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB74928499 for ; Tue, 7 Feb 2017 23:12:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AEC4D2849B; Tue, 7 Feb 2017 23:12:05 +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=unavailable 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 5D40728499 for ; Tue, 7 Feb 2017 23:12:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755315AbdBGXL6 (ORCPT ); Tue, 7 Feb 2017 18:11:58 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36220 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753849AbdBGXLy (ORCPT ); Tue, 7 Feb 2017 18:11:54 -0500 Received: by mail-wm0-f67.google.com with SMTP id r18so31066481wmd.3; Tue, 07 Feb 2017 15:11:53 -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=eAlv0osZZgDfTGDafZZFb+oSqqLYKb7P1DLSJNZRuTw=; b=cX8rU3eCxkjm1SvNdvgqH6LzrlI+CelWMnGkB3dTn/+jk826+/oGOtRTaLrGO/AHOq WXRJbxa2e4j8KqcP/nSMnpyiCLPgV9578WLYNS5HSpzXtRlz38Ggzg6Zvj8tuKT9yVf2 TdaabuJozZipjGDy7P6GI7eTwRKmt9P1PylLUsP2MUiFm714BGXXyMlam0xbgWlcAF4Q L6TuDzVyK0ABlvL9ExX3YjkxEVwedf9NihFtmM5JGuxW0VLKRHL4HjRnb2wyR9OObPJX 3Tz74FGyrjt89XdAqWAOkYIUaBELK9Q2RZTd4SLbWlcjdZm6IKn33xK8YCDsoTHf9Qth tSOA== 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=eAlv0osZZgDfTGDafZZFb+oSqqLYKb7P1DLSJNZRuTw=; b=hN8CN0Ta4WaPG0OUxV5AwavJzphTVaumxV4yszyY2eS2L7/W62GNeHMQbgAwW/b2x4 VHDNNkAg2hwM4pXbQmfEP70pJRoJ+PZ1d1Uc6Pbz/y5KdncQ/drZfajiGDLHaX6/cBAP NERyMwh1Gho02St+5h9Y0l6w9eG8yZtBQG+2N2aR+mmX2M0YQ05Nd0pmPJ5/Lrn7rr9e pm0sQFP/qZIzpbe2g6Ru4gjnml6RlqDtZ3/6urv2frAToGM1K6u16fOX4M6BmISy2wtp H2ELqcN58UqsY9tqaG+oc3C1mgRWrD36UAvZA3JuuL+aM1VjKsIEIB0DbuDicA+0Ekhk x5OA== X-Gm-Message-State: AMke39kYOtkxYZOeChEFxLMFqj1qS/p5bzcdPLsGolgUZ1EOFjE6UkkzGdJfgH7iZKk6mQ== X-Received: by 10.28.217.83 with SMTP id q80mr14073721wmg.58.1486508662658; Tue, 07 Feb 2017 15:04:22 -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.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2017 15:04:22 -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 04/12] net: lan78xx: fix build errors when linux/phy*.h is removed from net/dsa.h Date: Tue, 7 Feb 2017 15:02:57 -0800 Message-Id: <20170207230305.18222-5-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/usb/lan78xx.c:394:33: sparse: expected ; at end of declaration drivers/net/usb/lan78xx.c:394:33: sparse: Expected } at end of struct-union-enum-specifier drivers/net/usb/lan78xx.c:394:33: sparse: got interface drivers/net/usb/lan78xx.c:403:1: sparse: Expected ; at the end of type declaration drivers/net/usb/lan78xx.c:403:1: sparse: got } Add linux/phy.h to lan78xx.c Signed-off-by: Russell King --- drivers/net/usb/lan78xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index 08f8703e4d54..9889a70ff4f6 100644 --- a/drivers/net/usb/lan78xx.c +++ b/drivers/net/usb/lan78xx.c @@ -35,6 +35,7 @@ #include #include #include +#include #include "lan78xx.h" #define DRIVER_AUTHOR "WOOJUNG HUH "