__media_device_usb_init — create and initialize a struct media_device from a PCI device.
void __media_device_usb_init ( | struct media_device * mdev, |
| struct usb_device * udev, | |
| const char * board_name, | |
const char * driver_name); |
mdevpointer to struct media_device
udevpointer to struct usb_device
board_name
media device name. If NULL, the routine will use the usb
product name, if available.
driver_name
name of the driver. if NULL, the routine will use the name
given by udev->dev->driver->name, with is usually the wrong
thing to do.