Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Use DEVICE_COMPAT_EOL.
details: https://anonhg.NetBSD.org/src/rev/b10c842bb1b5
branches: trunk
changeset: 958979:b10c842bb1b5
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Jan 27 02:29:48 2021 +0000
description:
Use DEVICE_COMPAT_EOL.
diffstat:
sys/dev/i2c/ac100.c | 6 +++---
sys/dev/i2c/adadc.c | 6 +++---
sys/dev/i2c/adm1021.c | 6 +++---
sys/dev/i2c/adm1026.c | 4 ++--
sys/dev/i2c/anxedp.c | 6 +++---
sys/dev/i2c/as3722.c | 6 +++---
sys/dev/i2c/asms.c | 6 +++---
sys/dev/i2c/at24cxx.c | 6 +++---
sys/dev/i2c/axp20x.c | 6 +++---
sys/dev/i2c/axp22x.c | 6 +++---
sys/dev/i2c/axppmic.c | 6 +++---
sys/dev/i2c/cwfg.c | 6 +++---
sys/dev/i2c/dbcool.c | 6 +++---
sys/dev/i2c/ds1307.c | 6 +++---
sys/dev/i2c/dstemp.c | 6 +++---
sys/dev/i2c/em3027.c | 6 +++---
sys/dev/i2c/es8316ac.c | 6 +++---
sys/dev/i2c/fan53555.c | 6 +++---
sys/dev/i2c/fcu.c | 6 +++---
sys/dev/i2c/hytp14.c | 4 ++--
sys/dev/i2c/ihidev.c | 6 +++---
sys/dev/i2c/lm75.c | 6 +++---
sys/dev/i2c/lm87.c | 6 +++---
sys/dev/i2c/m41st84.c | 6 +++---
sys/dev/i2c/max77620.c | 6 +++---
sys/dev/i2c/pca9685.c | 6 +++---
sys/dev/i2c/pcagpio.c | 6 +++---
sys/dev/i2c/pcai2cmux.c | 6 +++---
sys/dev/i2c/pcf8563.c | 6 +++---
sys/dev/i2c/pcf8574.c | 6 +++---
sys/dev/i2c/rkpmic.c | 6 +++---
sys/dev/i2c/spdmem_i2c.c | 6 +++---
sys/dev/i2c/ssdfb_i2c.c | 6 +++---
sys/dev/i2c/sy8106a.c | 6 +++---
sys/dev/i2c/tcagpio.c | 6 +++---
sys/dev/i2c/tcakp.c | 6 +++---
sys/dev/i2c/tda19988.c | 6 +++---
sys/dev/i2c/titemp.c | 6 +++---
sys/dev/i2c/tps65217pmic.c | 6 +++---
sys/dev/i2c/tsllux.c | 7 +++----
sys/dev/ofisa/atppc_ofisa.c | 6 +++---
sys/dev/ofisa/com_ofisa.c | 6 +++---
sys/dev/ofisa/ess_ofisa.c | 6 +++---
sys/dev/ofisa/if_cs_ofisa.c | 6 +++---
sys/dev/ofisa/joy_ofisa.c | 6 +++---
sys/dev/ofisa/lpt_ofisa.c | 6 +++---
sys/dev/ofisa/ofisa.c | 6 +++---
sys/dev/ofisa/pckbc_ofisa.c | 8 ++++----
sys/dev/ofisa/sb_ofisa.c | 6 +++---
sys/dev/ofisa/wdc_ofisa.c | 6 +++---
sys/dev/ofw/ofw_network_subr.c | 6 +++---
sys/dev/spi/m25p.c | 7 +++----
sys/dev/spi/oj6sh.c | 7 +++----
sys/dev/spi/ssdfb_spi.c | 7 +++----
54 files changed, 161 insertions(+), 165 deletions(-)
diffs (truncated from 1457 to 300 lines):
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/ac100.c
--- a/sys/dev/i2c/ac100.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/ac100.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ac100.c,v 1.6 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: ac100.c,v 1.7 2021/01/27 02:29:48 thorpej Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "opt_fdt.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ac100.c,v 1.6 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ac100.c,v 1.7 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -94,7 +94,7 @@
static const struct device_compatible_entry compat_data[] = {
{ .compat = "x-powers,ac100" },
- { }
+ DEVICE_COMPAT_EOL
};
struct ac100_softc {
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/adadc.c
--- a/sys/dev/i2c/adadc.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/adadc.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adadc.c,v 1.9 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: adadc.c,v 1.10 2021/01/27 02:29:48 thorpej Exp $ */
/*-
* Copyright (c) 2018 Michael Lorenz
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adadc.c,v 1.9 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adadc.c,v 1.10 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -95,7 +95,7 @@
static const struct device_compatible_entry compat_data[] = {
{ .compat = "ad7417" },
- { }
+ DEVICE_COMPAT_EOL
};
/* calibaration table from Darwin via Linux */
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/adm1021.c
--- a/sys/dev/i2c/adm1021.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/adm1021.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adm1021.c,v 1.24 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: adm1021.c,v 1.25 2021/01/27 02:29:48 thorpej Exp $ */
/* $OpenBSD: adm1021.c,v 1.27 2007/06/24 05:34:35 dlg Exp $ */
/*
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adm1021.c,v 1.24 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adm1021.c,v 1.25 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -148,7 +148,7 @@
{ .compat = "i2c-max1617" },
{ .compat = "max6642" },
{ .compat = "max6690" },
- { }
+ DEVICE_COMPAT_EOL
};
int
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/adm1026.c
--- a/sys/dev/i2c/adm1026.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/adm1026.c Wed Jan 27 02:29:48 2021 +0000
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adm1026.c,v 1.10 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adm1026.c,v 1.11 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -130,7 +130,7 @@
static const struct device_compatible_entry compat_data[] = {
{ .compat = "i2c-adm1026" },
- { }
+ DEVICE_COMPAT_EOL
};
static int
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/anxedp.c
--- a/sys/dev/i2c/anxedp.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/anxedp.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: anxedp.c,v 1.5 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: anxedp.c,v 1.6 2021/01/27 02:29:48 thorpej Exp $ */
/*-
* Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: anxedp.c,v 1.5 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: anxedp.c,v 1.6 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -69,7 +69,7 @@
static const struct device_compatible_entry compat_data[] = {
{ .compat = "analogix,anx6345" },
- { }
+ DEVICE_COMPAT_EOL
};
struct anxedp_softc;
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/as3722.c
--- a/sys/dev/i2c/as3722.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/as3722.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: as3722.c,v 1.21 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: as3722.c,v 1.22 2021/01/27 02:29:48 thorpej Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "opt_fdt.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: as3722.c,v 1.21 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: as3722.c,v 1.22 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -224,7 +224,7 @@
static const struct device_compatible_entry compat_data[] = {
{ .compat = "ams,as3722" },
- { }
+ DEVICE_COMPAT_EOL
};
static int
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/asms.c
--- a/sys/dev/i2c/asms.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/asms.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asms.c,v 1.3 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: asms.c,v 1.4 2021/01/27 02:29:48 thorpej Exp $ */
/*-
* Copyright (c) 2020 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: asms.c,v 1.3 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: asms.c,v 1.4 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -60,7 +60,7 @@
static const struct device_compatible_entry compat_data[] = {
{ .compat = "accelerometer" },
{ .compat = "AAPL,accelerometer_1" },
- { }
+ DEVICE_COMPAT_EOL
};
/* ASMS Registers, from OpenBSD */
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/at24cxx.c
--- a/sys/dev/i2c/at24cxx.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/at24cxx.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: at24cxx.c,v 1.39 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: at24cxx.c,v 1.40 2021/01/27 02:29:48 thorpej Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at24cxx.c,v 1.39 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at24cxx.c,v 1.40 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -126,7 +126,7 @@
{ .compat = "atmel,24c02", .value = 256 },
{ .compat = "atmel,24c16", .value = 2048 },
{ .compat = "atmel,24c256", .value = 32768 },
- { }
+ DEVICE_COMPAT_EOL
};
static int
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/axp20x.c
--- a/sys/dev/i2c/axp20x.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/axp20x.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: axp20x.c,v 1.18 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: axp20x.c,v 1.19 2021/01/27 02:29:48 thorpej Exp $ */
/*-
* Copyright (c) 2014-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: axp20x.c,v 1.18 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: axp20x.c,v 1.19 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -212,7 +212,7 @@
static const struct device_compatible_entry compat_data[] = {
{ .compat = "x-powers,axp209" },
- { }
+ DEVICE_COMPAT_EOL
};
static int
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/axp22x.c
--- a/sys/dev/i2c/axp22x.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/axp22x.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: axp22x.c,v 1.8 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: axp22x.c,v 1.9 2021/01/27 02:29:48 thorpej Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: axp22x.c,v 1.8 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: axp22x.c,v 1.9 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -42,7 +42,7 @@
static const struct device_compatible_entry compat_data[] = {
{ .compat = "x-powers,axp221" },
- { }
+ DEVICE_COMPAT_EOL
};
#define AXP_TEMP_MON_REG 0x56 /* 2 bytes */
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/axppmic.c
--- a/sys/dev/i2c/axppmic.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/axppmic.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: axppmic.c,v 1.32 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: axppmic.c,v 1.33 2021/01/27 02:29:48 thorpej Exp $ */
/*-
* Copyright (c) 2014-2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: axppmic.c,v 1.32 2021/01/25 13:30:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: axppmic.c,v 1.33 2021/01/27 02:29:48 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -471,7 +471,7 @@
{ .compat = "x-powers,axp806", .data = &axp806_config },
{ .compat = "x-powers,axp809", .data = &axp809_config },
{ .compat = "x-powers,axp813", .data = &axp813_config },
- { }
+ DEVICE_COMPAT_EOL
};
static int
diff -r 7bc282fad98b -r b10c842bb1b5 sys/dev/i2c/cwfg.c
--- a/sys/dev/i2c/cwfg.c Wed Jan 27 02:28:37 2021 +0000
+++ b/sys/dev/i2c/cwfg.c Wed Jan 27 02:29:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cwfg.c,v 1.3 2021/01/25 13:30:20 thorpej Exp $ */
+/* $NetBSD: cwfg.c,v 1.4 2021/01/27 02:29:48 thorpej Exp $ */
/*-
* Copyright (c) 2020 Jared McNeill <jmcneill%invisible.ca@localhost>
Home |
Main Index |
Thread Index |
Old Index