snd_register_device_for_dev — Register the ALSA device file for the card
int snd_register_device_for_dev ( | int type, |
| struct snd_card * card, | |
| int dev, | |
| const struct file_operations * f_ops, | |
| void * private_data, | |
| const char * name, | |
struct device * device); |
typethe device type, SNDRV_DEVICE_TYPE_XXX
cardthe card instance
devthe device index
f_opsthe file operations
private_data
user pointer for f_ops->open
namethe device file name
devicethe struct device to link this new device to