[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170207230305.18222-5-f.fainelli@gmail.com>
Date: Tue, 7 Feb 2017 15:02:57 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: netdev@...r.kernel.org, linux-mips@...ux-mips.org,
linux-nfs@...r.kernel.org, linux-scsi@...r.kernel.org,
linux-usb@...r.kernel.org, linux-wireless@...r.kernel.org,
target-devel@...r.kernel.org
Cc: Russell King <rmk+kernel@...linux.org.uk>,
Andrew Lunn <andrew@...n.ch>,
Anna Schumaker <anna.schumaker@...app.com>,
"David S. Miller" <davem@...emloft.net>,
Derek Chickles <derek.chickles@...iumnetworks.com>,
Felix Manlunas <felix.manlunas@...iumnetworks.com>,
Florian Fainelli <f.fainelli@...il.com>,
"J. Bruce Fields" <bfields@...ldses.org>,
Jeff Layton <jlayton@...chiereds.net>,
Jiri Slaby <jirislaby@...il.com>,
Kalle Valo <kvalo@...eaurora.org>,
"Luis R. Rodriguez" <mcgrof@...not-panic.com>,
Madalin Bucur <madalin.bucur@....com>,
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
"Nicholas A. Bellinger" <nab@...ux-iscsi.org>,
Nick Kossifidis <mickflemm@...il.com>,
Nicolas Ferre <nicolas.ferre@...el.com>,
Raghu Vatsavayi <raghu.vatsavayi@...iumnetworks.com>,
Ralf Baechle <ralf@...ux-mips.org>,
Satanand Burla <satananda.burla@...iumnetworks.com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
Timur Tabi <timur@...eaurora.org>,
Trond Myklebust <trond.myklebust@...marydata.com>,
Vivien Didelot <vivien.didelot@...oirfairelinux.com>,
Woojung Huh <woojung.huh@...rochip.com>
Subject: [PATCH net-next v2 04/12] net: lan78xx: fix build errors when linux/phy*.h is removed from net/dsa.h
From: Russell King <rmk+kernel@...linux.org.uk>
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 <rmk+kernel@...linux.org.uk>
---
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 <linux/irq.h>
#include <linux/irqchip/chained_irq.h>
#include <linux/microchipphy.h>
+#include <linux/phy.h>
#include "lan78xx.h"
#define DRIVER_AUTHOR "WOOJUNG HUH <woojung.huh@...rochip.com>"
--
2.9.3
Powered by blists - more mailing lists