};
struct earlycon_id {
- char name[16];
+ char name[15];
+ char name_term; /* In case compiler didn't '\0' term name */
char compatible[128];
int (*setup)(struct earlycon_device *, const char *options);
- } __aligned(32);
+ };
- extern const struct earlycon_id __earlycon_table[];
- extern const struct earlycon_id __earlycon_table_end[];
+ extern const struct earlycon_id *__earlycon_table[];
+ extern const struct earlycon_id *__earlycon_table_end[];
#if defined(CONFIG_SERIAL_EARLYCON) && !defined(MODULE)
#define EARLYCON_USED_OR_UNUSED __used