Module Name:    src
Committed By:   thorpej
Date:           Thu Feb  4 22:14:08 UTC 2021

Modified Files:
        src/sys/dev/fdt: fdtbus.c fdtvar.h

Log Message:
Add fdtbus_device_register().  Just a placeholder for now.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/fdt/fdtbus.c
cvs rdiff -u -r1.68 -r1.69 src/sys/dev/fdt/fdtvar.h

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/fdt/fdtbus.c
diff -u src/sys/dev/fdt/fdtbus.c:1.38 src/sys/dev/fdt/fdtbus.c:1.39
--- src/sys/dev/fdt/fdtbus.c:1.38	Wed Jan 27 03:10:21 2021
+++ src/sys/dev/fdt/fdtbus.c	Thu Feb  4 22:14:08 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: fdtbus.c,v 1.38 2021/01/27 03:10:21 thorpej Exp $ */
+/* $NetBSD: fdtbus.c,v 1.39 2021/02/04 22:14:08 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcne...@invisible.ca>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdtbus.c,v 1.38 2021/01/27 03:10:21 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdtbus.c,v 1.39 2021/02/04 22:14:08 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -550,3 +550,9 @@ fdtbus_print(void *aux, const char *pnp)
 
 	return UNCONF;
 }
+
+void
+fdtbus_device_register(device_t dev __unused, void *aux __unused)
+{
+	/* Placeholder. */
+}

Index: src/sys/dev/fdt/fdtvar.h
diff -u src/sys/dev/fdt/fdtvar.h:1.68 src/sys/dev/fdt/fdtvar.h:1.69
--- src/sys/dev/fdt/fdtvar.h:1.68	Sat Jan 16 09:09:37 2021
+++ src/sys/dev/fdt/fdtvar.h	Thu Feb  4 22:14:08 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: fdtvar.h,v 1.68 2021/01/16 09:09:37 ryo Exp $ */
+/* $NetBSD: fdtvar.h,v 1.69 2021/02/04 22:14:08 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcne...@invisible.ca>
@@ -434,7 +434,9 @@ void		fdt_add_child(device_t, int, struc
 void		fdt_remove_byhandle(int);
 void		fdt_remove_bycompat(const char *[]);
 int		fdt_find_with_property(const char *, int *);
+
 int		fdtbus_print(void *, const char *);
+void		fdtbus_device_register(device_t, void *);
 
 bus_dma_tag_t	fdtbus_dma_tag_create(int, const struct fdt_dma_range *,
 		    u_int);

Reply via email to