diff options
| author | Joe Perches <joe@perches.com> | 2013-08-01 19:17:47 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-08-02 15:33:54 -0400 |
| commit | e216975ad97cfcfc436789aa66d59a0e93f337f7 (patch) | |
| tree | 663a82d6e67757a80f51d4e9dda1c714bb92d6a6 /include/uapi/linux/wimax | |
| parent | bd3f5433255292d8d5080b532e729a577ec4912c (diff) | |
uapi: Convert some uses of 6 to ETH_ALEN
Use the #define where appropriate.
Add #include <linux/if_ether.h>
where appropriate too.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/wimax')
| -rw-r--r-- | include/uapi/linux/wimax/i2400m.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/wimax/i2400m.h b/include/uapi/linux/wimax/i2400m.h index 62d356153565..fd198bc24a3c 100644 --- a/include/uapi/linux/wimax/i2400m.h +++ b/include/uapi/linux/wimax/i2400m.h | |||
| @@ -122,7 +122,7 @@ | |||
| 122 | #define __LINUX__WIMAX__I2400M_H__ | 122 | #define __LINUX__WIMAX__I2400M_H__ |
| 123 | 123 | ||
| 124 | #include <linux/types.h> | 124 | #include <linux/types.h> |
| 125 | 125 | #include <linux/if_ether.h> | |
| 126 | 126 | ||
| 127 | /* | 127 | /* |
| 128 | * Host Device Interface (HDI) common to all busses | 128 | * Host Device Interface (HDI) common to all busses |
| @@ -487,7 +487,7 @@ struct i2400m_tlv_l4_message_versions { | |||
| 487 | struct i2400m_tlv_detailed_device_info { | 487 | struct i2400m_tlv_detailed_device_info { |
| 488 | struct i2400m_tlv_hdr hdr; | 488 | struct i2400m_tlv_hdr hdr; |
| 489 | __u8 reserved1[400]; | 489 | __u8 reserved1[400]; |
| 490 | __u8 mac_address[6]; | 490 | __u8 mac_address[ETH_ALEN]; |
| 491 | __u8 reserved2[2]; | 491 | __u8 reserved2[2]; |
| 492 | } __attribute__((packed)); | 492 | } __attribute__((packed)); |
| 493 | 493 | ||
