Make it compile without DIAGNOSTIC by using __diagused
This commit is contained in:
parent
bf60d1ced1
commit
2d8c45afa0
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos_soc.c,v 1.14 2014/06/11 05:54:54 matt Exp $ */
|
||||
/* $NetBSD: exynos_soc.c,v 1.15 2014/08/26 11:55:54 reinoud Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2014 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
@ -33,7 +33,7 @@
|
||||
#define _ARM32_BUS_DMA_PRIVATE
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(1, "$NetBSD: exynos_soc.c,v 1.14 2014/06/11 05:54:54 matt Exp $");
|
||||
__KERNEL_RCSID(1, "$NetBSD: exynos_soc.c,v 1.15 2014/08/26 11:55:54 reinoud Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/bus.h>
|
||||
@ -212,7 +212,7 @@ exynos_bootstrap(vaddr_t iobase, vaddr_t uartbase)
|
||||
{
|
||||
int error;
|
||||
size_t core_size, audiocore_size;
|
||||
size_t audiocore_pbase, audiocore_vbase;
|
||||
size_t audiocore_pbase, audiocore_vbase __diagused;
|
||||
|
||||
#ifdef EXYNOS4
|
||||
if (IS_EXYNOS4_P()) {
|
||||
|
Loading…
Reference in New Issue
Block a user