Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/sunxi Fix GENERIC64 build



details:   https://anonhg.NetBSD.org/src/rev/55ac5d18d6a8
branches:  trunk
changeset: 379040:55ac5d18d6a8
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed May 05 20:58:03 2021 +0000

description:
Fix GENERIC64 build

diffstat:

 sys/arch/arm/sunxi/sunxi_codec.c |  12 ++++++------
 sys/arch/arm/sunxi/sunxi_codec.h |  10 +++++-----
 2 files changed, 11 insertions(+), 11 deletions(-)

diffs (74 lines):

diff -r 7f0c9102d777 -r 55ac5d18d6a8 sys/arch/arm/sunxi/sunxi_codec.c
--- a/sys/arch/arm/sunxi/sunxi_codec.c  Wed May 05 19:30:51 2021 +0000
+++ b/sys/arch/arm/sunxi/sunxi_codec.c  Wed May 05 20:58:03 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_codec.c,v 1.13 2021/05/05 10:24:04 jmcneill Exp $ */
+/* $NetBSD: sunxi_codec.c,v 1.14 2021/05/05 20:58:03 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_ddb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_codec.c,v 1.13 2021/05/05 10:24:04 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_codec.c,v 1.14 2021/05/05 20:58:03 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -89,10 +89,10 @@
 #define        AC_ADC_CNT(_sc)         ((_sc)->sc_cfg->ADC_CNT)
 
 static const struct device_compatible_entry compat_data[] = {
-       A10_CODEC_COMPATDATA,
-       A31_CODEC_COMPATDATA,
-       H3_CODEC_COMPATDATA,
-       V3S_CODEC_COMPATDATA,
+       A10_CODEC_COMPATDATA
+       A31_CODEC_COMPATDATA
+       H3_CODEC_COMPATDATA
+       V3S_CODEC_COMPATDATA
 
        DEVICE_COMPAT_EOL
 };
diff -r 7f0c9102d777 -r 55ac5d18d6a8 sys/arch/arm/sunxi/sunxi_codec.h
--- a/sys/arch/arm/sunxi/sunxi_codec.h  Wed May 05 19:30:51 2021 +0000
+++ b/sys/arch/arm/sunxi/sunxi_codec.h  Wed May 05 20:58:03 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_codec.h,v 1.7 2021/05/05 10:24:04 jmcneill Exp $ */
+/* $NetBSD: sunxi_codec.h,v 1.8 2021/05/05 20:58:03 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -121,7 +121,7 @@ struct sunxi_codec_softc {
 extern const struct sunxi_codec_conf sun8i_h3_codecconf;
 #define        H3_CODEC_COMPATDATA                                             \
        { .compat = "allwinner,sun8i-h3-codec",                         \
-         .data = &sun8i_h3_codecconf }
+         .data = &sun8i_h3_codecconf },
 #else
 #define        H3_CODEC_COMPATDATA
 #endif
@@ -130,7 +130,7 @@ extern const struct sunxi_codec_conf sun
 extern const struct sunxi_codec_conf sun8i_v3s_codecconf;
 #define V3S_CODEC_COMPATDATA                                           \
        { .compat = "allwinner,sun8i-v3s-codec",                        \
-         .data = &sun8i_v3s_codecconf }
+         .data = &sun8i_v3s_codecconf },
 #else
 #define V3S_CODEC_COMPATDATA
 #endif
@@ -140,11 +140,11 @@ extern const struct sunxi_codec_conf sun
        { .compat = "allwinner,sun4i-a10-codec",                        \
          .data = &sun4i_a10_codecconf },                               \
        { .compat = "allwinner,sun7i-a20-codec",                        \
-         .data = &sun4i_a10_codecconf }
+         .data = &sun4i_a10_codecconf },
 
 extern const struct sunxi_codec_conf sun6i_a31_codecconf;
 #define        A31_CODEC_COMPATDATA                                            \
        { .compat = "allwinner,sun6i-a31-codec",                        \
-         .data = &sun6i_a31_codecconf }
+         .data = &sun6i_a31_codecconf },
 
 #endif /* !_ARM_SUNXI_CODEC_H */



Home | Main Index | Thread Index | Old Index