Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/acpi Catch up with constant name change.



details:   https://anonhg.NetBSD.org/src/rev/e257db6f6ca1
branches:  trunk
changeset: 456249:e257db6f6ca1
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 29 12:53:15 2019 +0000

description:
Catch up with constant name change.

diffstat:

 sys/arch/arm/acpi/gtmr_acpi.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bd95ed8eee99 -r e257db6f6ca1 sys/arch/arm/acpi/gtmr_acpi.c
--- a/sys/arch/arm/acpi/gtmr_acpi.c     Mon Apr 29 11:57:22 2019 +0000
+++ b/sys/arch/arm/acpi/gtmr_acpi.c     Mon Apr 29 12:53:15 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gtmr_acpi.c,v 1.2 2018/11/16 23:24:28 jmcneill Exp $ */
+/* $NetBSD: gtmr_acpi.c,v 1.3 2019/04/29 12:53:15 christos Exp $ */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gtmr_acpi.c,v 1.2 2018/11/16 23:24:28 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gtmr_acpi.c,v 1.3 2019/04/29 12:53:15 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -61,7 +61,7 @@
 {
        ACPI_TABLE_HEADER *hdrp = aux;
 
-       return memcmp(hdrp->Signature, ACPI_SIG_GTDT, ACPI_NAME_SIZE) == 0;
+       return memcmp(hdrp->Signature, ACPI_SIG_GTDT, ACPI_NAMESEG_SIZE) == 0;
 }
 
 static void



Home | Main Index | Thread Index | Old Index