]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - net/cdp.h
net: cosmetic: Clean up SNTP variables and functions
[karo-tx-uboot.git] / net / cdp.h
index 93bc4612203192e15e8728d62775406f951b30c2..95e4ce025de713a0aa992b161c61dab94af9979f 100644 (file)
--- a/net/cdp.h
+++ b/net/cdp.h
@@ -6,6 +6,7 @@
  *     Copyright 2000 Roland Borde
  *     Copyright 2000 Paolo Scaffardi
  *     Copyright 2000-2002 Wolfgang Denk, wd@denx.de
+ *     SPDX-License-Identifier:        GPL-2.0
  */
 
 #if defined(CONFIG_CMD_CDP)
@@ -14,7 +15,8 @@
 #define __CDP_H__
 
 void CDPStart(void);
-void CDPHandler(const uchar *pkt, unsigned len);
+/* Process a received CDP packet */
+void cdp_receive(const uchar *pkt, unsigned len);
 
 #endif /* __CDP_H__ */
 #endif