diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-05-25 06:45:27 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-05-25 06:45:27 +0000 |
commit | 3e39b250169e8ef15507000e9603f0a5558e90da (patch) | |
tree | bc7d06cc23253bebf59e60d5313c9eab983e0364 /sys/arch/armv7/omap | |
parent | 1d7dc5e6a2e9035f5991e4762929b6cf6ec25621 (diff) |
rename wsdisplay alloc_attr() to pack_attr()
Suggested by John Carmack. miod agrees a rename would make sense and
explained it was initially thought drivers may need to allocate storage
but in practice they don't need more than 32 bits for an attribute.
ok mpi@
Diffstat (limited to 'sys/arch/armv7/omap')
-rw-r--r-- | sys/arch/armv7/omap/omdisplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/omap/omdisplay.c b/sys/arch/armv7/omap/omdisplay.c index 7935b36ce19..bb982a7d200 100644 --- a/sys/arch/armv7/omap/omdisplay.c +++ b/sys/arch/armv7/omap/omdisplay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: omdisplay.c,v 1.6 2019/05/06 03:45:58 mlarkin Exp $ */ +/* $OpenBSD: omdisplay.c,v 1.7 2020/05/25 06:45:25 jsg Exp $ */ /* * Copyright (c) 2007 Dale Rahn <drahn@openbsd.org> * @@ -1170,7 +1170,7 @@ omdisplay_alloc_screen(void *v, const struct wsscreen_descr *_type, omdisplay_setup_rasops(sc, ri); /* assumes 16 bpp */ - ri->ri_ops.alloc_attr(ri, 0, 0, 0, attrp); + ri->ri_ops.pack_attr(ri, 0, 0, 0, attrp); *cookiep = ri; *curxp = 0; |