From 48522bb5035561556042b74bfa8f1f8dd314e340 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Tue, 15 May 2012 08:59:08 +0000 Subject: net: cosmetic: net.c checkpatch compliance Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- include/common.h | 4 ++++ include/net.h | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'include') diff --git a/include/common.h b/include/common.h index 4b5841e..7338e39 100644 --- a/include/common.h +++ b/include/common.h @@ -794,6 +794,10 @@ int pcmcia_init (void); #include +#ifdef CONFIG_SHOW_ACTIVITY +void show_activity(int arg); +#endif + /* Multicore arch functions */ #ifdef CONFIG_MP int cpu_status(int nr); diff --git a/include/net.h b/include/net.h index 2b6e59a..3dbe154 100644 --- a/include/net.h +++ b/include/net.h @@ -433,6 +433,11 @@ extern int NetSendUDPPacket(uchar *ether, IPaddr_t dest, int dport, /* Processes a received packet */ extern void NetReceive(uchar *, int); +#ifdef CONFIG_NETCONSOLE +void NcStart(void); +int nc_input_packet(uchar *pkt, unsigned dest, unsigned src, unsigned len); +#endif + /* * Check if autoload is enabled. If so, use either NFS or TFTP to download * the boot file. -- cgit v1.1