Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcarm/dev Use __UNCONST to pass default calibratio...



details:   https://anonhg.NetBSD.org/src/rev/eade558704cb
branches:  trunk
changeset: 581591:eade558704cb
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Jun 02 21:38:17 2005 +0000

description:
Use __UNCONST to pass default calibration data to tpcalib_ioctl().

diffstat:

 sys/arch/hpcarm/dev/j720ssp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r be77408a3345 -r eade558704cb sys/arch/hpcarm/dev/j720ssp.c
--- a/sys/arch/hpcarm/dev/j720ssp.c     Thu Jun 02 21:36:25 2005 +0000
+++ b/sys/arch/hpcarm/dev/j720ssp.c     Thu Jun 02 21:38:17 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: j720ssp.c,v 1.22 2004/05/28 17:52:07 tsarna Exp $ */
+/* $NetBSD: j720ssp.c,v 1.23 2005/06/02 21:38:17 uwe Exp $ */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: j720ssp.c,v 1.22 2004/05/28 17:52:07 tsarna Exp $");
+__KERNEL_RCSID(0, "$NetBSD: j720ssp.c,v 1.23 2005/06/02 21:38:17 uwe Exp $");
 
 #include "apm.h"
 
@@ -302,7 +302,7 @@
                          { 988, 927,   0, 239 },
                          {  88, 940, 639, 239 } } };
                tpcalib_ioctl(&sc->sc_tpcalib, WSMOUSEIO_SCALIBCOORDS,
-                   (caddr_t)&j720_default_calib, 0, 0);
+                   __UNCONST(&j720_default_calib), 0, 0);
        }
 
        j720tp_disable(sc);



Home | Main Index | Thread Index | Old Index