1REGISTER_SOUND_MIDI(9) Sound Devices REGISTER_SOUND_MIDI(9)
2
3
4
6 register_sound_midi - register a midi device
7
9 int register_sound_midi(const struct file_operations * fops, int dev);
10
12 fops
13 File operations for the driver
14
15 dev
16 Unit number to allocate
17
19 Allocate a midi device. Unit is the number of the midi device
20 requested. Pass -1 to request the next free midi unit.
21
23 On success, the allocated number is returned. On failure, a negative
24 error code is returned.
25
27Kernel Hackers Manual 3.10 June 2019 REGISTER_SOUND_MIDI(9)