diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-11-15 20:25:32 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-11-15 20:25:32 +0000 |
commit | b1d248473ac90c240c8d2b3aadbf5a43e164a7e3 (patch) | |
tree | e47551191a364338366ce611a0dbd1d58532b15f /sys/dev/pckbc | |
parent | 7a2a4c31b994be46bac37b48a27646b94afc0b5b (diff) |
Aesthetic improvements to make it appear more normal and knf'y.
No functional change. From Alexandr Scadchin again.
Diffstat (limited to 'sys/dev/pckbc')
-rw-r--r-- | sys/dev/pckbc/pms.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/sys/dev/pckbc/pms.c b/sys/dev/pckbc/pms.c index 0133451f9b8..75828839749 100644 --- a/sys/dev/pckbc/pms.c +++ b/sys/dev/pckbc/pms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pms.c,v 1.13 2010/11/15 13:51:20 krw Exp $ */ +/* $OpenBSD: pms.c,v 1.14 2010/11/15 20:25:31 krw Exp $ */ /* $NetBSD: psm.c,v 1.11 2000/06/05 22:20:57 sommerfeld Exp $ */ /*- @@ -60,15 +60,11 @@ struct pms_softc { /* driver status information */ struct device *sc_wsmousedev; }; -int pmsprobe(struct device *, void *, void *); -void pmsattach(struct device *, struct device *, void *); -int pmsactivate(struct device *, int); -void pmsinput(void *, int); +int pmsprobe(struct device *, void *, void *); +void pmsattach(struct device *, struct device *, void *); +int pmsactivate(struct device *, int); -struct cfattach pms_ca = { - sizeof(struct pms_softc), pmsprobe, pmsattach, NULL, - pmsactivate -}; +void pmsinput(void *, int); int pms_change_state(struct pms_softc *, int); int pms_ioctl(void *, u_long, caddr_t, int, struct proc *); @@ -87,6 +83,15 @@ int pms_dev_disable(struct pms_softc *); int pms_setintellimode(struct pms_softc *sc); +struct cfattach pms_ca = { + sizeof(struct pms_softc), pmsprobe, pmsattach, NULL, + pmsactivate +}; + +struct cfdriver pms_cd = { + NULL, "pms", DV_DULL +}; + const struct wsmouse_accessops pms_accessops = { pms_enable, pms_ioctl, @@ -442,7 +447,3 @@ pmsinput(void *vsc, int data) return; } - -struct cfdriver pms_cd = { - NULL, "pms", DV_DULL -}; |