From 1a81c796689a01b00bc5aea0b3bd3fd672530798 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Mon, 16 Dec 2013 23:55:13 +0100 Subject: i386: qualify pointers whose dereferenced values are constant with const --- i386/i386at/autoconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i386/i386at/autoconf.c') diff --git a/i386/i386at/autoconf.c b/i386/i386at/autoconf.c index 31bb73cd..908c3ec0 100644 --- a/i386/i386at/autoconf.c +++ b/i386/i386at/autoconf.c @@ -122,7 +122,7 @@ void probeio(void) } void take_dev_irq( - struct bus_device *dev) + const struct bus_device *dev) { int pic = (int)dev->sysdep1; @@ -144,7 +144,7 @@ void take_dev_irq( } void take_ctlr_irq( - struct bus_ctlr *ctlr) + const struct bus_ctlr *ctlr) { int pic = ctlr->sysdep1; if (intpri[pic] == 0) { -- cgit v1.2.3