summaryrefslogtreecommitdiffstats
path: root/sys/dev/fb/vgareg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fb/vgareg.h')
-rw-r--r--sys/dev/fb/vgareg.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/fb/vgareg.h b/sys/dev/fb/vgareg.h
index f390318..e26c214 100644
--- a/sys/dev/fb/vgareg.h
+++ b/sys/dev/fb/vgareg.h
@@ -78,15 +78,15 @@ int vga_probe_unit(int unit, struct video_adapter *adp, int flags);
int vga_attach_unit(int unit, vga_softc_t *sc, int flags);
#ifdef FB_INSTALL_CDEV
-int vga_open(dev_t dev, vga_softc_t *sc, int flag, int mode,
+int vga_open(struct cdev *dev, vga_softc_t *sc, int flag, int mode,
struct thread *td);
-int vga_close(dev_t dev, vga_softc_t *sc, int flag, int mode,
+int vga_close(struct cdev *dev, vga_softc_t *sc, int flag, int mode,
struct thread *td);
-int vga_read(dev_t dev, vga_softc_t *sc, struct uio *uio, int flag);
-int vga_write(dev_t dev, vga_softc_t *sc, struct uio *uio, int flag);
-int vga_ioctl(dev_t dev, vga_softc_t *sc, u_long cmd, caddr_t arg,
+int vga_read(struct cdev *dev, vga_softc_t *sc, struct uio *uio, int flag);
+int vga_write(struct cdev *dev, vga_softc_t *sc, struct uio *uio, int flag);
+int vga_ioctl(struct cdev *dev, vga_softc_t *sc, u_long cmd, caddr_t arg,
int flag, struct thread *td);
-int vga_mmap(dev_t dev, vga_softc_t *sc, vm_offset_t offset,
+int vga_mmap(struct cdev *dev, vga_softc_t *sc, vm_offset_t offset,
vm_offset_t *paddr, int prot);
#endif
OpenPOWER on IntegriCloud