Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/fdt Fit in 80 columns. NFC.



details:   https://anonhg.NetBSD.org/src/rev/b711bf7db991
branches:  trunk
changeset: 1017987:b711bf7db991
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Jan 17 19:51:43 2021 +0000

description:
Fit in 80 columns. NFC.

diffstat:

 sys/arch/arm/fdt/arm_simplefb.c |  17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diffs (59 lines):

diff -r d22f35916bb0 -r b711bf7db991 sys/arch/arm/fdt/arm_simplefb.c
--- a/sys/arch/arm/fdt/arm_simplefb.c   Sun Jan 17 19:32:52 2021 +0000
+++ b/sys/arch/arm/fdt/arm_simplefb.c   Sun Jan 17 19:51:43 2021 +0000
@@ -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 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 @@
 }
 
 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 @@
 
        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 @@
 #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)



Home | Main Index | Thread Index | Old Index