mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
include: Convert ethernet mac address declarations to use ETH_ALEN
It's convenient to have ethernet mac addresses use ETH_ALEN to be able to grep for them a bit easier and also to ensure that the addresses are __aligned(2). Add #include <linux/if_ether.h> as necessary. Signed-off-by: Joe Perches <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
e216975ad9
commit
574e2af7c0
11 changed files with 58 additions and 45 deletions
|
|
@ -12,6 +12,8 @@ enum tveeprom_audio_processor {
|
|||
TVEEPROM_AUDPROC_OTHER,
|
||||
};
|
||||
|
||||
#include <linux/if_ether.h>
|
||||
|
||||
struct tveeprom {
|
||||
u32 has_radio;
|
||||
/* If has_ir == 0, then it is unknown what the IR capabilities are,
|
||||
|
|
@ -40,7 +42,7 @@ struct tveeprom {
|
|||
u32 revision;
|
||||
u32 serial_number;
|
||||
char rev_str[5];
|
||||
u8 MAC_address[6];
|
||||
u8 MAC_address[ETH_ALEN];
|
||||
};
|
||||
|
||||
void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
|
||||
|
|
|
|||
Loading…
Reference in a new issue