Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/rockchip don't expose 'compatible[]'



details:   https://anonhg.NetBSD.org/src/rev/01fa6ecf8d2b
branches:  trunk
changeset: 946130:01fa6ecf8d2b
user:      ryo <ryo%NetBSD.org@localhost>
date:      Tue Nov 17 18:01:09 2020 +0000

description:
don't expose 'compatible[]'

diffstat:

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

diffs (27 lines):

diff -r 13a92e5310d8 -r 01fa6ecf8d2b sys/arch/arm/rockchip/rk3399_pcie_phy.c
--- a/sys/arch/arm/rockchip/rk3399_pcie_phy.c   Tue Nov 17 17:59:31 2020 +0000
+++ b/sys/arch/arm/rockchip/rk3399_pcie_phy.c   Tue Nov 17 18:01:09 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rk3399_pcie_phy.c,v 1.2 2020/06/17 06:51:08 thorpej Exp $      */
+/*     $NetBSD: rk3399_pcie_phy.c,v 1.3 2020/11/17 18:01:09 ryo Exp $  */
 /*     $OpenBSD: rkpcie.c,v 1.6 2018/08/28 09:33:18 jsg Exp $  */
 /*
  * Copyright (c) 2018 Mark Kettenis <kettenis%openbsd.org@localhost>
@@ -18,7 +18,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: rk3399_pcie_phy.c,v 1.2 2020/06/17 06:51:08 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: rk3399_pcie_phy.c,v 1.3 2020/11/17 18:01:09 ryo Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -47,7 +47,7 @@
 CFATTACH_DECL_NEW(rkpciephy, sizeof(struct rkpciephy_softc),
         rkpciephy_match, rkpciephy_attach, NULL, NULL);
 
-const char * const compatible[] = {
+static const char * const compatible[] = {
        "rockchip,rk3399-pcie-phy",
        NULL
 };



Home | Main Index | Thread Index | Old Index