summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_driver.c
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>2004-06-02 22:58:28 +0000
committerdrochner <drochner@NetBSD.org>2004-06-02 22:58:28 +0000
commite7bdadd856b93c841d8edbc8d39b6b2c45778544 (patch)
tree661dbfcd246b3bc5706d0ed7ffcc81aeeae8e65f /sys/dev/raidframe/rf_driver.c
parent44a1e00a08945938fcce666bdc348a06042ffa54 (diff)
fix const'ificication, gcc-3.4 will notice it
Diffstat (limited to 'sys/dev/raidframe/rf_driver.c')
-rw-r--r--sys/dev/raidframe/rf_driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_driver.c b/sys/dev/raidframe/rf_driver.c
index 240230e4d64..2b21ea576e4 100644
--- a/sys/dev/raidframe/rf_driver.c
+++ b/sys/dev/raidframe/rf_driver.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_driver.c,v 1.101 2004/04/22 00:17:12 itojun Exp $ */
+/* $NetBSD: rf_driver.c,v 1.102 2004/06/02 22:58:28 drochner Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -73,7 +73,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.101 2004/04/22 00:17:12 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.102 2004/06/02 22:58:28 drochner Exp $");
#include "opt_raid_diagnostic.h"
@@ -502,7 +502,7 @@ RF_RaidAccessDesc_t *
rf_AllocRaidAccDesc(RF_Raid_t *raidPtr, RF_IoType_t type,
RF_RaidAddr_t raidAddress, RF_SectorCount_t numBlocks,
caddr_t bufPtr, void *bp, RF_RaidAccessFlags_t flags,
- RF_AccessState_t *states)
+ const RF_AccessState_t *states)
{
RF_RaidAccessDesc_t *desc;