Source-Changes-HG archive

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

[src/thorpej-i2c-spi-conf]: src/sys/dev/spi Use <dev/fdt/fdtvar.h> instead of...



details:   https://anonhg.NetBSD.org/src/rev/21a9d5b17ab2
branches:  thorpej-i2c-spi-conf
changeset: 1020834:21a9d5b17ab2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed May 19 12:37:46 2021 +0000

description:
Use <dev/fdt/fdtvar.h> instead of <dev/ofw/openfirm.h>.

diffstat:

 sys/dev/spi/mcp23s17.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5f58abb69d6f -r 21a9d5b17ab2 sys/dev/spi/mcp23s17.c
--- a/sys/dev/spi/mcp23s17.c    Wed May 19 12:35:28 2021 +0000
+++ b/sys/dev/spi/mcp23s17.c    Wed May 19 12:37:46 2021 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: mcp23s17.c,v 1.2.2.3 2021/05/19 12:35:28 thorpej Exp $ */
+/*      $NetBSD: mcp23s17.c,v 1.2.2.4 2021/05/19 12:37:46 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mcp23s17.c,v 1.2.2.3 2021/05/19 12:35:28 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mcp23s17.c,v 1.2.2.4 2021/05/19 12:37:46 thorpej Exp $");
 
 /* 
  * Driver for Microchip MCP23S17 GPIO
@@ -55,7 +55,7 @@
 #include <dev/spi/mcp23s17.h>
 
 #ifdef FDT
-#include <dev/ofw/openfirm.h>
+#include <dev/fdt/fdtvar.h>
 #endif /* FDT */
 
 /* #define MCP23S17_DEBUG */



Home | Main Index | Thread Index | Old Index