configs: sopine-baseboard: Enable SPI-FLASH
[oweals/u-boot.git] / net / ping.h
index 0a2d7d179763018bb72f595a5e218d1e71cdbe0a..7b6f4e566dbdf48fc49cb853ba7697760b89360a 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  *     Copied from Linux Monitor (LiMon) - Networking.
  *
@@ -8,8 +9,6 @@
  *     Copyright 2000-2002 Wolfgang Denk, wd@denx.de
  */
 
-#if defined(CONFIG_CMD_PING)
-
 #ifndef __PING_H__
 #define __PING_H__
 
@@ -28,7 +27,6 @@ void ping_start(void);
  * @param ip IP header in the same packet
  * @param len Packet length
  */
-void ping_receive(Ethernet_t *et, struct ip_udp_hdr *ip, int len);
+void ping_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len);
 
 #endif /* __PING_H__ */
-#endif