#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <media/videobuf2-dvb.h>
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
static int dvb_fnc(struct vb2_buffer *vb, void *priv)
{ … }
static int vb2_dvb_start_feed(struct dvb_demux_feed *feed)
{ … }
static int vb2_dvb_stop_feed(struct dvb_demux_feed *feed)
{ … }
static int vb2_dvb_register_adapter(struct vb2_dvb_frontends *fe,
struct module *module,
void *adapter_priv,
struct device *device,
struct media_device *mdev,
char *adapter_name,
short *adapter_nr,
int mfe_shared)
{ … }
static int vb2_dvb_register_frontend(struct dvb_adapter *adapter,
struct vb2_dvb *dvb)
{ … }
int vb2_dvb_register_bus(struct vb2_dvb_frontends *f,
struct module *module,
void *adapter_priv,
struct device *device,
struct media_device *mdev,
short *adapter_nr,
int mfe_shared)
{ … }
EXPORT_SYMBOL(…);
void vb2_dvb_unregister_bus(struct vb2_dvb_frontends *f)
{ … }
EXPORT_SYMBOL(…);
struct vb2_dvb_frontend *vb2_dvb_get_frontend(
struct vb2_dvb_frontends *f, int id)
{ … }
EXPORT_SYMBOL(…);
int vb2_dvb_find_frontend(struct vb2_dvb_frontends *f,
struct dvb_frontend *p)
{ … }
EXPORT_SYMBOL(…);
struct vb2_dvb_frontend *vb2_dvb_alloc_frontend(
struct vb2_dvb_frontends *f, int id)
{ … }
EXPORT_SYMBOL(…);
void vb2_dvb_dealloc_frontends(struct vb2_dvb_frontends *f)
{ … }
EXPORT_SYMBOL(…);