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. On success the
21 allocated number is returned, on failure a negative error code is
22 returned.
23
25Kernel Hackers Manual 2.6. November 2011 REGISTER_SOUND_MIDI(9)