kernel: fix section mismatch in crashlog
[openwrt.git] / target / linux / generic / patches-4.4 / 930-crashlog.patch
index bb6805b..514ff46 100644 (file)
 +#endif
 +
 +#ifdef CONFIG_HAVE_MEMBLOCK
-+void __meminit crashlog_init_memblock(phys_addr_t addr, phys_addr_t size)
++void __init_memblock crashlog_init_memblock(phys_addr_t addr, phys_addr_t size)
 +{
 +      if (crashlog_addr)
 +              return;