Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Constify pci_attach_args.



details:   https://anonhg.NetBSD.org/src/rev/79c37f7e85ac
branches:  trunk
changeset: 764891:79c37f7e85ac
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Tue May 10 23:48:33 2011 +0000

description:
Constify pci_attach_args.

diffstat:

 sys/dev/pci/if_ral_pci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5aa7fa345142 -r 79c37f7e85ac sys/dev/pci/if_ral_pci.c
--- a/sys/dev/pci/if_ral_pci.c  Tue May 10 23:33:07 2011 +0000
+++ b/sys/dev/pci/if_ral_pci.c  Tue May 10 23:48:33 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ral_pci.c,v 1.16 2011/05/10 18:31:33 dyoung Exp $   */
+/*     $NetBSD: if_ral_pci.c,v 1.17 2011/05/10 23:48:33 dyoung Exp $   */
 /*     $OpenBSD: if_ral_pci.c,v 1.6 2006/01/09 20:03:43 damien Exp $  */
 
 /*-
@@ -22,7 +22,7 @@
  * PCI front-end for the Ralink RT2560/RT2561/RT2561S/RT2661 driver.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ral_pci.c,v 1.16 2011/05/10 18:31:33 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ral_pci.c,v 1.17 2011/05/10 23:48:33 dyoung Exp $");
 
 
 #include <sys/param.h>
@@ -122,7 +122,7 @@
 {
        struct ral_pci_softc *psc = device_private(self);
        struct rt2560_softc *sc = &psc->sc_sc;
-       struct pci_attach_args *pa = aux;
+       const struct pci_attach_args *pa = aux;
        const char *intrstr;
        char devinfo[256];
        bus_addr_t base;



Home | Main Index | Thread Index | Old Index