]> git.sur5r.net Git - u-boot/blobdiff - include/serial.h
CONFIG: SMDK5250: I2C: Enable I2C
[u-boot] / include / serial.h
index a298a0bab195a93877186aba7837892020506614..5173499124091870efaca83feb615d377054ed34 100644 (file)
@@ -3,10 +3,9 @@
 
 #include <post.h>
 
-#define NAMESIZE 16
-
 struct serial_device {
-       char name[NAMESIZE];
+       /* enough bytes to match alignment of following func pointer */
+       char name[16];
 
        int  (*init) (void);
        int  (*uninit) (void);