Module Name:    src
Committed By:   jmcneill
Date:           Sun Jan 17 19:51:43 UTC 2021

Modified Files:
        src/sys/arch/arm/fdt: arm_simplefb.c

Log Message:
Fit in 80 columns. NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/fdt/arm_simplefb.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/arch/arm/fdt/arm_simplefb.c
diff -u src/sys/arch/arm/fdt/arm_simplefb.c:1.6 src/sys/arch/arm/fdt/arm_simplefb.c:1.7
--- src/sys/arch/arm/fdt/arm_simplefb.c:1.6	Sun Jan 17 19:03:49 2021
+++ src/sys/arch/arm/fdt/arm_simplefb.c	Sun Jan 17 19:51:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: arm_simplefb.c,v 1.6 2021/01/17 19:03:49 jmcneill Exp $ */
+/* $NetBSD: arm_simplefb.c,v 1.7 2021/01/17 19:51:43 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 #include "opt_vcons.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm_simplefb.c,v 1.6 2021/01/17 19:03:49 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_simplefb.c,v 1.7 2021/01/17 19:51:43 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -93,7 +93,9 @@ static bus_space_handle_t arm_simplefb_b
 static int
 arm_simplefb_find_node(void)
 {
-	static const char * simplefb_compatible[] = { "simple-framebuffer", NULL };
+	static const char * simplefb_compatible[] = {
+		"simple-framebuffer", NULL
+	};
 	int chosen_phandle, child;
 
 	chosen_phandle = OF_finddevice("/chosen");
@@ -146,7 +148,8 @@ arm_simplefb_init_screen(void *cookie, s
 }
 
 static int
-arm_simplefb_ioctl(void *v, void *vs, u_long cmd, void *data, int flag, lwp_t *l)
+arm_simplefb_ioctl(void *v, void *vs, u_long cmd, void *data, int flag,
+    lwp_t *l)
 {
 	return EPASSTHROUGH;
 }
@@ -172,7 +175,8 @@ arm_simplefb_reconfig(void *arg, uint64_
 
 	bus_space_unmap(bst, arm_simplefb_bsh, arm_simplefb_size);
 	bus_space_map(bst, new_addr, arm_simplefb_size,
-	    BUS_SPACE_MAP_LINEAR | BUS_SPACE_MAP_PREFETCHABLE, &arm_simplefb_bsh);
+	    BUS_SPACE_MAP_LINEAR | BUS_SPACE_MAP_PREFETCHABLE,
+	    &arm_simplefb_bsh);
 
 	sc->sc_bits = bus_space_vaddr(bst, arm_simplefb_bsh);
 	ri->ri_bits = sc->sc_bits;
@@ -258,7 +262,8 @@ arm_simplefb_preattach(void)
 #ifdef VCONS_DRAW_INTR
 	arm_simplefb_vcons_data.use_intr = 0;
 #endif
-	vcons_init_screen(&arm_simplefb_vcons_data, &arm_simplefb_screen, 1, &defattr);
+	vcons_init_screen(&arm_simplefb_vcons_data, &arm_simplefb_screen, 1,
+	    &defattr);
 	arm_simplefb_screen.scr_flags |= VCONS_SCREEN_IS_STATIC;
 
 	if (ri->ri_rows < 1 || ri->ri_cols < 1)

Reply via email to