#include <linux/major.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/mutex.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/minors.h>
#include <sound/hwdep.h>
#include <sound/info.h>
Go to the source code of this file.
#define snd_hwdep_ioctl_compat NULL |
#define snd_hwdep_proc_done |
( |
| ) |
|
#define snd_hwdep_proc_init |
( |
| ) |
|
MODULE_DESCRIPTION |
( |
"Hardware dependent layer" |
| ) |
|
snd_hwdep_new - create a new hwdep instance : the card instance : the id string : the device index (zero-based) : the pointer to store the new hwdep instance
Creates a new hwdep instance with the given index on the card. The callbacks (hwdep->ops) must be set on the returned instance after this call manually by the caller.
Returns zero if successful, or a negative error code on failure.
Definition at line 361 of file hwdep.c.