From: jsg Date: Wed, 27 May 2015 08:03:43 +0000 (+0000) Subject: call exynos_platform_match() if the kernel is compiled with exynos devices X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f397ad73010ca107d50ffb49961d6ccc901dc0e5;p=openbsd call exynos_platform_match() if the kernel is compiled with exynos devices --- 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