diff options
author | Luis Henriques <luis.henriques@canonical.com> | 2016-02-09 01:27:04 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-01 11:27:20 +0300 |
commit | 497abcf6afe2d85f047fbf137388dbb63d2528f9 (patch) | |
tree | 2a250c0842f44b002e8e1e50ae2352135847015d /arch/powerpc/kernel/legacy_serial.c | |
parent | 8daf51f55febbc755fe20e74320a194e175811a9 (diff) | |
download | linux-497abcf6afe2d85f047fbf137388dbb63d2528f9.tar.xz |
powerpc/ps3: gelic_udbg: use struct ethhdr from <linux/if_ether.h>
Instead of defining a local version of struct ethhdr use the standard
definition from <linux/if_ether.h>.
The fields in the <linux/if_ether.h> definition have different names:
- dest -> h_dest
- src -> h_source
- type -> h_proto
While there, use a few other standard functions/macros:
- eth_broadcast_addr (instead of a memset)
- ETH_ALEN
- ETH_P_8021Q
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/legacy_serial.c')
0 files changed, 0 insertions, 0 deletions