]> Pileus Git - ~andy/linux/blobdiff - include/linux/dm9000.h
rbd: drop an unsafe assertion
[~andy/linux] / include / linux / dm9000.h
index 96e87693d93349c92563585f1abf59efd8d4c029..841925fbfe8a737f4953deb85cc4f5841be2302b 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef __DM9000_PLATFORM_DATA
 #define __DM9000_PLATFORM_DATA __FILE__
 
+#include <linux/if_ether.h>
+
 /* IO control flags */
 
 #define DM9000_PLATF_8BITONLY  (0x0001)
@@ -27,7 +29,7 @@
 
 struct dm9000_plat_data {
        unsigned int    flags;
-       unsigned char   dev_addr[6];
+       unsigned char   dev_addr[ETH_ALEN];
 
        /* allow replacement IO routines */