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/135ffc0ae45d
branches: trunk
changeset: 1016368:135ffc0ae45d
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 24ee60b4b754 -r 135ffc0ae45d 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