lightnvm: fix missing grown bad block type
[firefly-linux-kernel-4.4.55.git] / include / linux / smsc911x.h
index 4dde70e74822be5d13198a15c0816978f3ff4b2a..eec3efd19beb0b8fb059acd97939f0efba09d7fb 100644 (file)
@@ -22,6 +22,7 @@
 #define __LINUX_SMSC911X_H__
 
 #include <linux/phy.h>
+#include <linux/if_ether.h>
 
 /* platform_device configuration data, should be assigned to
  * the platform_device's dev.platform_data */
@@ -31,7 +32,7 @@ struct smsc911x_platform_config {
        unsigned int flags;
        unsigned int shift;
        phy_interface_t phy_interface;
-       unsigned char mac[6];
+       unsigned char mac[ETH_ALEN];
 };
 
 /* Constants for platform_device irq polarity configuration */