Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen constify xbddkdriver



details:   https://anonhg.NetBSD.org/src/rev/714758946ed3
branches:  trunk
changeset: 971192:714758946ed3
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Apr 17 10:35:06 2020 +0000

description:
constify xbddkdriver

diffstat:

 sys/arch/xen/xen/xbd_xenbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8fbcd2ef63c9 -r 714758946ed3 sys/arch/xen/xen/xbd_xenbus.c
--- a/sys/arch/xen/xen/xbd_xenbus.c     Fri Apr 17 10:32:19 2020 +0000
+++ b/sys/arch/xen/xen/xbd_xenbus.c     Fri Apr 17 10:35:06 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xbd_xenbus.c,v 1.117 2020/04/17 10:32:19 jdolecek Exp $      */
+/*      $NetBSD: xbd_xenbus.c,v 1.118 2020/04/17 10:35:06 jdolecek Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.117 2020/04/17 10:32:19 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.118 2020/04/17 10:35:06 jdolecek Exp $");
 
 #include "opt_xen.h"
 
@@ -250,7 +250,7 @@
 
 extern struct cfdriver xbd_cd;
 
-static struct dkdriver xbddkdriver = {
+static const struct dkdriver xbddkdriver = {
         .d_strategy = xbdstrategy,
        .d_minphys = xbdminphys,
        .d_open = xbdopen,



Home | Main Index | Thread Index | Old Index