static int __init attr_event_init(void) { struct attribute **attrs; int ret, i; return 0; } static __init char *get_last_crashkernel(char *cmdline, const char *name, const char *suffix) { char *p = cmdline, *ck_cmdline = NULL; /* find crashkernel and use the last one if there are more */ p = strstr(p, name); return ck_cmdline; }