diff options
author | Luis Henriques <luis.henriques@canonical.com> | 2016-02-08 22:27:05 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-01 19:27:20 +1100 |
commit | e9aaa6d1abcffcf7b8060072e71c0773fb40015d (patch) | |
tree | cd5aa6f6199e841b66843e144b82eff1034f103e /crypto/drbg.c | |
parent | 497abcf6afe2d85f047fbf137388dbb63d2528f9 (diff) | |
download | linux-e9aaa6d1abcffcf7b8060072e71c0773fb40015d.tar.gz linux-e9aaa6d1abcffcf7b8060072e71c0773fb40015d.tar.bz2 linux-e9aaa6d1abcffcf7b8060072e71c0773fb40015d.zip |
powerpc/ps3: gelic_udbg: use struct vlan_hdr from <linux/if_vlan.h>
Instead of defining the local struct vlantag use the standard definition
of vlan_hdr from <linux/if_vlan.h>.
The fields in the <linux/if_vlan.h> definition have different names:
- vlan -> h_vlan_TCI
- subtype -> h_vlan_encapsulated_proto
While there, use also the ETH_P_IP macro instead of an hard-coded 0x0800
value.
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'crypto/drbg.c')
0 files changed, 0 insertions, 0 deletions