imx: wandboard: convert FEC support to DM_ETH
[platform/kernel/u-boot.git] / net / cdp.h
index 93bc461..16ccbf4 100644 (file)
--- a/net/cdp.h
+++ b/net/cdp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  *     Copied from Linux Monitor (LiMon) - Networking.
  *
@@ -13,8 +14,9 @@
 #ifndef __CDP_H__
 #define __CDP_H__
 
-void CDPStart(void);
-void CDPHandler(const uchar *pkt, unsigned len);
+void cdp_start(void);
+/* Process a received CDP packet */
+void cdp_receive(const uchar *pkt, unsigned len);
 
 #endif /* __CDP_H__ */
 #endif