Name

v4l2_mc_pci_media_device_init — create and initialize a struct media_device from a PCI device.

Synopsis

struct media_device * v4l2_mc_pci_media_device_init (struct pci_dev * pci_dev,
 const char * name);
 

Arguments

pci_dev

pointer to struct pci_dev

name

media device name. If NULL, the routine will use the default name for the pci device, given by pci_name macro.