From a6513fde6d4ae0ae6759a9a6b0f805b3e4921c22 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Fri, 6 Dec 2013 16:30:00 +0100 Subject: i386/i386at/lpr.c: fix initalization from incompatible pointer type * i386/i386at/lpr.c (lprprobe): Modify argument types. * i386/i386at/lpr.h (lprprobe): Likewise. --- i386/i386at/lpr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386/i386at/lpr.h') diff --git a/i386/i386at/lpr.h b/i386/i386at/lpr.h index 820d0ab..d2b9d4b 100644 --- a/i386/i386at/lpr.h +++ b/i386/i386at/lpr.h @@ -36,7 +36,7 @@ #define INTR_ENAB(addr) (addr + 2) extern void lprintr(int unit); -int lprprobe(int port, struct bus_device *dev); +int lprprobe(vm_offset_t port, struct bus_ctlr *dev); void lprstop(struct tty *tp, int flags); void lprstart(struct tty *tp); void lprattach(struct bus_device *dev); -- cgit v1.2.3