Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: Cleanup in eth-netx.h

Commit 2960ed346877 ("ARM: netx: move platform_data definitions")
moved the file to the current location but forgot to remove the pointer
to its previous location. Clean it up. While at it also change the header
file protection macros appropriately.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Sachin Kamat and committed by
David S. Miller
96bfc80d 769f01ef

+2 -4
+2 -4
include/linux/platform_data/eth-netx.h
··· 1 1 /* 2 - * arch/arm/mach-netx/include/mach/eth.h 3 - * 4 2 * Copyright (c) 2005 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix 5 3 * 6 4 * This program is free software; you can redistribute it and/or modify ··· 15 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16 18 */ 17 19 18 - #ifndef ASMARM_ARCH_ETH_H 19 - #define ASMARM_ARCH_ETH_H 20 + #ifndef __ETH_NETX_H 21 + #define __ETH_NETX_H 20 22 21 23 struct netxeth_platform_data { 22 24 unsigned int xcno; /* number of xmac/xpec engine this eth uses */