From d934b67dca8b97e632a44f749496013d8a50fd4a Mon Sep 17 00:00:00 2001 From: uwe Date: Wed, 14 Feb 2018 14:04:48 +0000 Subject: [PATCH] Cosmetic - consistently use #define --- sys/dev/pci/virtio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/pci/virtio.c b/sys/dev/pci/virtio.c index 9e03dacf0b8d..86471ac11818 100644 --- a/sys/dev/pci/virtio.c +++ b/sys/dev/pci/virtio.c @@ -1,4 +1,4 @@ -/* $NetBSD: virtio.c,v 1.29 2017/08/02 08:39:14 cherry Exp $ */ +/* $NetBSD: virtio.c,v 1.30 2018/02/14 14:04:48 uwe Exp $ */ /* * Copyright (c) 2010 Minoura Makoto. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.29 2017/08/02 08:39:14 cherry Exp $"); +__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.30 2018/02/14 14:04:48 uwe Exp $"); #include #include @@ -96,10 +96,10 @@ nbo_bus_space_write_4(bus_space_tag_t space, bus_space_handle_t handle, /* some functions access registers at 4 byte offset for little/high halves */ #if BYTE_ORDER == BIG_ENDIAN #define REG_HI_OFF 0 -#define REG_LO_OFF 4 +#define REG_LO_OFF 4 #else #define REG_HI_OFF 4 -#define REG_LO_OFF 0 +#define REG_LO_OFF 0 #endif void