1SND_DEVICE_REGISTER(9) Management of Cards and Device SND_DEVICE_REGISTER(9)
2
3
4
6 snd_device_register - register the device
7
9 int snd_device_register(struct snd_card * card, void * device_data);
10
12 card
13 the card instance
14
15 device_data
16 the data pointer to register
17
19 Registers the device which was already created via snd_device_new.
20 Usually this is called from snd_card_register, but it can be called
21 later if any new devices are created after invocation of
22 snd_card_register.
23
24 Returns zero if successful, or a negative error code on failure or if
25 the device not found.
26
28Kernel Hackers Manual 2.6. June 2019 SND_DEVICE_REGISTER(9)