Actually, that variable needs to be a u_int8_t pointer.
authorkettenis <kettenis@openbsd.org>
Sat, 1 May 2021 20:04:33 +0000 (20:04 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 1 May 2021 20:04:33 +0000 (20:04 +0000)
This is what was tested, but I forgot to commit a file.

sys/dev/ic/stivar.h

index dff4ae2..4c59308 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: stivar.h,v 1.26 2021/05/01 00:22:33 deraadt Exp $     */
+/*     $OpenBSD: stivar.h,v 1.27 2021/05/01 20:04:33 kettenis Exp $    */
 
 /*
  * Copyright (c) 2000-2003 Michael Shalayeff
@@ -45,7 +45,7 @@ struct sti_rom {
        bus_addr_t              *bases;
 
        struct sti_dd            rom_dd;        /* in word format */
-       void                    *rom_code;
+       u_int8_t                *rom_code;
 
        /*
         * ROM-provided function pointers