Module Name: src Committed By: thorpej Date: Wed Jan 27 02:32:31 UTC 2021
Modified Files: src/sys/dev/spi: m25p.c oj6sh.c ssdfb_spi.c Log Message: Use DEVICE_COMPAT_EOL. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev/spi/m25p.c cvs rdiff -u -r1.6 -r1.7 src/sys/dev/spi/oj6sh.c cvs rdiff -u -r1.4 -r1.5 src/sys/dev/spi/ssdfb_spi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/spi/m25p.c diff -u src/sys/dev/spi/m25p.c:1.16 src/sys/dev/spi/m25p.c:1.17 --- src/sys/dev/spi/m25p.c:1.16 Sun Jan 17 21:42:35 2021 +++ src/sys/dev/spi/m25p.c Wed Jan 27 02:32:31 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: m25p.c,v 1.16 2021/01/17 21:42:35 thorpej Exp $ */ +/* $NetBSD: m25p.c,v 1.17 2021/01/27 02:32:31 thorpej Exp $ */ /*- * Copyright (c) 2006 Urbana-Champaign Independent Media Center. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: m25p.c,v 1.16 2021/01/17 21:42:35 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: m25p.c,v 1.17 2021/01/27 02:32:31 thorpej Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -118,8 +118,7 @@ static const struct m25p_info { static const struct device_compatible_entry compat_data[] = { { .compat = "jedec,spi-nor" }, - - { 0 } + DEVICE_COMPAT_EOL }; static int Index: src/sys/dev/spi/oj6sh.c diff -u src/sys/dev/spi/oj6sh.c:1.6 src/sys/dev/spi/oj6sh.c:1.7 --- src/sys/dev/spi/oj6sh.c:1.6 Sun Jan 17 21:42:35 2021 +++ src/sys/dev/spi/oj6sh.c Wed Jan 27 02:32:31 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: oj6sh.c,v 1.6 2021/01/17 21:42:35 thorpej Exp $ */ +/* $NetBSD: oj6sh.c,v 1.7 2021/01/27 02:32:31 thorpej Exp $ */ /* * Copyright (c) 2014 Genetec Corporation. All rights reserved. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: oj6sh.c,v 1.6 2021/01/17 21:42:35 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: oj6sh.c,v 1.7 2021/01/27 02:32:31 thorpej Exp $"); #include "opt_oj6sh.h" @@ -128,8 +128,7 @@ static const struct wsmouse_accessops oj static const struct device_compatible_entry compat_data[] = { { .compat = "oj6sh" }, - - { 0 } + DEVICE_COMPAT_EOL }; static int Index: src/sys/dev/spi/ssdfb_spi.c diff -u src/sys/dev/spi/ssdfb_spi.c:1.4 src/sys/dev/spi/ssdfb_spi.c:1.5 --- src/sys/dev/spi/ssdfb_spi.c:1.4 Sun Jan 17 21:42:35 2021 +++ src/sys/dev/spi/ssdfb_spi.c Wed Jan 27 02:32:31 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ssdfb_spi.c,v 1.4 2021/01/17 21:42:35 thorpej Exp $ */ +/* $NetBSD: ssdfb_spi.c,v 1.5 2021/01/27 02:32:31 thorpej Exp $ */ /* * Copyright (c) 2019 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ssdfb_spi.c,v 1.4 2021/01/17 21:42:35 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ssdfb_spi.c,v 1.5 2021/01/27 02:32:31 thorpej Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -75,8 +75,7 @@ CFATTACH_DECL_NEW(ssdfb_spi, sizeof(stru static const struct device_compatible_entry compat_data[] = { { .compat = "solomon,ssd1322" }, - - { 0 } + DEVICE_COMPAT_EOL }; static int