Commit 738a1b1e authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] dvb_ca_en50221: add support for CA node at the media controller



Make the dvb core CA support aware of the media controller and
register the corresponding devices.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 8afd52ef
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1638,15 +1638,17 @@ static const struct file_operations dvb_ca_fops = {
	.llseek = noop_llseek,
};

static struct dvb_device dvbdev_ca = {
static const struct dvb_device dvbdev_ca = {
	.priv = NULL,
	.users = 1,
	.readers = 1,
	.writers = 1,
#if defined(CONFIG_MEDIA_CONTROLLER_DVB)
	.name = "ca_en50221",
#endif
	.fops = &dvb_ca_fops,
};


/* ******************************************************************************** */
/* Initialisation/shutdown functions */