summaryrefslogtreecommitdiffstats
path: root/sys/dev/fb/machfb.c
diff options
context:
space:
mode:
authorwkoszek <wkoszek@FreeBSD.org>2007-12-29 23:26:59 +0000
committerwkoszek <wkoszek@FreeBSD.org>2007-12-29 23:26:59 +0000
commitbb029b61d9d00673b61ff3bd4589761e3ddbd060 (patch)
tree2208d9a465b1ecf2354401f83d3b431d9003169a /sys/dev/fb/machfb.c
parent8a0ce839351386ec837779aa9f63b575cf8d096a (diff)
downloadFreeBSD-src-bb029b61d9d00673b61ff3bd4589761e3ddbd060.zip
FreeBSD-src-bb029b61d9d00673b61ff3bd4589761e3ddbd060.tar.gz
Replace explicit calls to video methods with their respective variants
implemented with macros. This patch improves code readability. Reasoning behind vidd_* is a sort of "video discipline". List of macros is supposed to be complete--all methods of video_switch ought to have their respective macros from now on. Functionally, this code should be no-op. My intention is to leave current behaviour of touched code as is. No objections: rwatson Silence on: freebsd-current@ Approved by: cognet
Diffstat (limited to 'sys/dev/fb/machfb.c')
-rw-r--r--sys/dev/fb/machfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fb/machfb.c b/sys/dev/fb/machfb.c
index eb128eb..85674fa 100644
--- a/sys/dev/fb/machfb.c
+++ b/sys/dev/fb/machfb.c
@@ -1113,7 +1113,7 @@ machfb_puts(video_adapter_t *adp, vm_offset_t off, uint16_t *s, int len)
MACHFB_BLANK;
blanks = 0;
}
- (*vidsw[adp->va_index]->putc)(adp, off + i, c, a);
+ vidd_putc(adp, off + i, c, a);
}
}
if (blanks != 0)
OpenPOWER on IntegriCloud