22 #ifndef _COBALT_RTDM_ANALOGY_DRIVER_H
23 #define _COBALT_RTDM_ANALOGY_DRIVER_H
25 #include <linux/list.h>
26 #include <rtdm/analogy/rtdm_helpers.h>
27 #include <rtdm/analogy/context.h>
28 #include <rtdm/analogy/buffer.h>
42 struct list_head
list;
58 int (*
attach) (
struct a4l_device *,
struct a4l_link_desc *);
68 int a4l_unregister_drv(
struct a4l_driver * drv);
71 int a4l_rdproc_drvs(
struct seq_file *p,
void *data);
Structure containing driver declaration data.
Definition: driver.h:39
int privdata_size
Size of the driver's private data.
Definition: driver.h:54
struct list_head list
List stuff.
Definition: driver.h:42
unsigned int flags
Type / status driver's flags.
Definition: driver.h:48
char * board_name
Board name.
Definition: driver.h:50
int(* attach)(struct a4l_device *, struct a4l_link_desc *)
Attach procedure.
Definition: driver.h:58
char * driver_name
driver name
Definition: driver.h:52
struct module * owner
Pointer to module containing the code.
Definition: driver.h:46
int(* detach)(struct a4l_device *)
Detach procedure.
Definition: driver.h:60