]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kbd: const'ify a couple of keyboard_driver fields
authorkevans <kevans@FreeBSD.org>
Tue, 17 Dec 2019 03:30:49 +0000 (03:30 +0000)
committerkevans <kevans@FreeBSD.org>
Tue, 17 Dec 2019 03:30:49 +0000 (03:30 +0000)
commit18ec4e956a772f7784e62882b1305a31c82f9789
tree36d913dd4a7845003d93883ac61e0b9ce74132b6
parent04e04d3ea6da080adc12493b69b140d2c40df792
kbd: const'ify a couple of keyboard_driver fields

Nothing modifies these things, but const'ify out of an abundance of caution.
If we could const'ify the definition in each keyboard driver, I likely
would- improper mutations here can lead to misbehavior or slightly more
annoying to debug state.
sys/dev/kbd/kbdreg.h