[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1360170854-32029-3-git-send-email-hauke@hauke-m.de>
Date: Wed, 6 Feb 2013 18:14:12 +0100
From: Hauke Mehrtens <hauke@...ke-m.de>
To: davem@...emloft.net
Cc: mcarlson@...adcom.com, mchan@...adcom.com, nsujir@...adcom.com,
netdev@...r.kernel.org, m@...s.ch,
Hauke Mehrtens <hauke@...ke-m.de>
Subject: [PATCH v2 2/4] ssb: add missing method ssb_gige_get_macaddr
When CONFIG_SSB_DRIVER_GIGE is not set the header does not provide the
needed method.
Signed-off-by: Hauke Mehrtens <hauke@...ke-m.de>
---
include/linux/ssb/ssb_driver_gige.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/linux/ssb/ssb_driver_gige.h b/include/linux/ssb/ssb_driver_gige.h
index 912af3c..86a12b0 100644
--- a/include/linux/ssb/ssb_driver_gige.h
+++ b/include/linux/ssb/ssb_driver_gige.h
@@ -170,6 +170,10 @@ static inline bool ssb_gige_must_flush_posted_writes(struct pci_dev *pdev)
{
return 0;
}
+static inline int ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr)
+{
+ return -ENODEV;
+}
#endif /* CONFIG_SSB_DRIVER_GIGE */
#endif /* LINUX_SSB_DRIVER_GIGE_H_ */
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists