From f397ad73010ca107d50ffb49961d6ccc901dc0e5 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 27 May 2015 08:03:43 +0000 Subject: [PATCH] call exynos_platform_match() if the kernel is compiled with exynos devices --- sys/arch/armv7/armv7/platform.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/arch/armv7/armv7/platform.c b/sys/arch/armv7/armv7/platform.c index 062111ff37d..8caec7bb3c5 100644 --- a/sys/arch/armv7/armv7/platform.c +++ b/sys/arch/armv7/armv7/platform.c @@ -1,4 +1,4 @@ -/* $OpenBSD: platform.c,v 1.1 2015/05/19 03:30:54 jsg Exp $ */ +/* $OpenBSD: platform.c,v 1.2 2015/05/27 08:03:43 jsg Exp $ */ /* * Copyright (c) 2014 Patrick Wildt * @@ -28,12 +28,14 @@ #include "imx.h" #include "omap.h" #include "sunxi.h" +#include "exynos.h" static struct armv7_platform *platform; struct armv7_platform *imx_platform_match(void); struct armv7_platform *omap_platform_match(void); struct armv7_platform *sunxi_platform_match(void); +struct armv7_platform *exynos_platform_match(void); struct armv7_platform * (*plat_match[])(void) = { #if NIMX > 0 @@ -45,6 +47,9 @@ struct armv7_platform * (*plat_match[])(void) = { #if NSUNXI > 0 sunxi_platform_match, #endif +#if NEXYNOS > 0 + exynos_platform_match, +#endif }; void -- 2.20.1