From 478be1d371adde09c1b13421fd51d0e209f0b625 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@nbd.name>
Date: Mon, 6 Feb 2017 11:41:23 +0100
Subject: [PATCH] kernel: fix crashlog build error on 4.9

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 target/linux/generic/patches-4.9/930-crashlog.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/generic/patches-4.9/930-crashlog.patch b/target/linux/generic/patches-4.9/930-crashlog.patch
index 7877f5608c..a2e2180706 100644
--- a/target/linux/generic/patches-4.9/930-crashlog.patch
+++ b/target/linux/generic/patches-4.9/930-crashlog.patch
@@ -212,8 +212,8 @@
 +		crashlog_printf("Modules:");
 +		list_for_each_entry(m, crashlog_modules, list) {
 +			crashlog_printf("\t%s@%p+%x", m->name,
-+			m->module_core, m->core_size,
-+			m->module_init, m->init_size);
++			m->core_layout.base, m->core_layout.size,
++			m->init_layout.base, m->init_layout.size);
 +		}
 +		crashlog_printf("\n");
 +		first = false;
-- 
2.30.2