]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - net/cdp.h
net: Fix compile errors when SNTP enabled and not DATE
[karo-tx-uboot.git] / net / cdp.h
index 93bc4612203192e15e8728d62775406f951b30c2..83475c992d237885e18a581c1a1b828aa5d4888f 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)
@@ -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