git: e4f214686bce - stable/15 - sound: Rename midi_cdevsw name to "midi"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jan 2026 23:27:51 UTC
The branch stable/15 has been updated by christos:
URL: https://cgit.FreeBSD.org/src/commit/?id=e4f214686bce7c2caddbce9790b85f0c02a9adaf
commit e4f214686bce7c2caddbce9790b85f0c02a9adaf
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-01-02 16:56:27 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-01-09 23:27:23 +0000
sound: Rename midi_cdevsw name to "midi"
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
(cherry picked from commit d6121f7b508bf889359e116da1efab08f848e129)
---
sys/dev/sound/midi/midi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c
index f54b95daf280..c658c8001b94 100644
--- a/sys/dev/sound/midi/midi.c
+++ b/sys/dev/sound/midi/midi.c
@@ -93,7 +93,7 @@ static struct cdevsw midi_cdevsw = {
.d_write = midi_write,
.d_ioctl = midi_ioctl,
.d_poll = midi_poll,
- .d_name = "rmidi",
+ .d_name = "midi",
};
struct unrhdr *dev_unr = NULL;
@@ -109,7 +109,7 @@ SYSCTL_INT(_hw_midi, OID_AUTO, debug, CTLFLAG_RW, &midi_debug, 0, "");
#define MIDI_DEBUG(l,a) if(midi_debug>=l) a
/*
- * Register a new rmidi device.
+ * Register a new midi device.
*
* "cookie" is passed to the MPU calls, and is normally set to the driver's
* softc.