media_devnode_create(9) creates and initializes a device node interface

SYNOPSIS

struct media_intf_devnode * media_devnode_create(struct media_device * mdev, u32 type, u32 flags, u32 major, u32 minor);

ARGUMENTS

mdev

pointer to struct media_device

type

type of the interface, as given by MEDIA_INTF_T_* macros as defined in the uapi/media/media.h header.

flags

Interface flags as defined in uapi/media/media.h.

major

Device node major number.

minor

Device node minor number.

RETURN

if succeeded, returns a pointer to the newly allocated media_intf_devnode pointer.

COPYRIGHT