]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/media/tveeprom.h
ecryptfs: remove check for if an array is NULL
[karo-tx-linux.git] / include / media / tveeprom.h
index 4a1191abd936df57986be2f99b44cfcd1f0203ee..f7119ee3977b22541cb5faa8d0282d62b435fe2c 100644 (file)
@@ -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,