SYNOPSIS
struct media_devnode {
const struct media_file_operations * fops;
struct device dev;
struct cdev cdev;
struct device * parent;
int minor;
unsigned long flags;
void (* release) (struct media_devnode *mdev);
};
MEMBERS
fops
- pointer to struct media_file_operations with media device ops
dev
- struct device pointer for the media controller device
cdev
- struct cdev pointer character device
parent
- parent device
minor
- device node minor number
flags
- flags, combination of the MEDIA_FLAG_* constants
release
- release callback called at the end of media_devnode_release
DESCRIPTION
This structure represents a media-related device node.
The parent is a physical device. It must be set by core or device drivers before registering the node.
COPYRIGHT