summaryrefslogtreecommitdiff
path: root/i386/i386at/com.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-06 16:29:57 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:38:11 +0900
commit7eee86071820dfe40d612f1daf488a983e30afe9 (patch)
tree415ec5ffc24ab3065f3471d3179374f1bcb4cc93 /i386/i386at/com.h
parente849c67ce712f5fdc6812c4c5b19421bc59f8c0f (diff)
i386/i386at/com.c: fix initialization from incompatible pointer type
* i386/i386at/com.c (comprobe): Modify argument types. (comprobe): Cast from (struct bus_ctrl *) to (struct bus_device *). comprobe_general() uses only a small subset of members, so it's all the same which struct it is. * i386/i386at/com.h (comprobe): Modify argument types.
Diffstat (limited to 'i386/i386at/com.h')
-rw-r--r--i386/i386at/com.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/com.h b/i386/i386at/com.h
index ae9434d..81fccfa 100644
--- a/i386/i386at/com.h
+++ b/i386/i386at/com.h
@@ -51,7 +51,7 @@ extern int comcngetc(dev_t dev, int wait);
extern int comcnputc(dev_t dev, int c);
extern void comintr(int unit);
-int comprobe(int port, struct bus_device *dev);
+int comprobe(vm_offset_t port, struct bus_ctlr *dev);
int commctl(struct tty *tp, int bits, int how);
void comstart(struct tty *tp);
void comstop(struct tty *tp, int flags);