From beaefe0f96758297d013bd48b598225410b44e34 Mon Sep 17 00:00:00 2001 From: dhendrix Date: Sun, 3 Sep 2017 18:06:53 -0700 Subject: Move get_layout() from flashrom.c to layout.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic67cf53abddc0aa905674acbcde717d9aed2f66e Signed-off-by: David Hendricks Reviewed-on: https://review.coreboot.org/21367 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- layout.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layout.h') diff --git a/layout.h b/layout.h index f32dc829..fd1049d8 100644 --- a/layout.h +++ b/layout.h @@ -58,6 +58,8 @@ struct single_layout { }; struct flashrom_layout *get_global_layout(void); +struct flashrom_flashctx; +const struct flashrom_layout *get_layout(const struct flashrom_flashctx *const flashctx); int process_include_args(struct flashrom_layout *); -- cgit v1.2.3