|
@@ -845,13 +845,13 @@ static void saa7134_create_entities(struct saa7134_dev *dev)
|
|
|
*/
|
|
|
if (!decoder) {
|
|
|
dev->demod.name = "saa713x";
|
|
|
- dev->demod_pad[DEMOD_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK;
|
|
|
- dev->demod_pad[DEMOD_PAD_IF_INPUT].sig_type = PAD_SIGNAL_ANALOG;
|
|
|
- dev->demod_pad[DEMOD_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
|
|
- dev->demod_pad[DEMOD_PAD_VID_OUT].sig_type = PAD_SIGNAL_DV;
|
|
|
+ dev->demod_pad[SAA7134_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK;
|
|
|
+ dev->demod_pad[SAA7134_PAD_IF_INPUT].sig_type = PAD_SIGNAL_ANALOG;
|
|
|
+ dev->demod_pad[SAA7134_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE;
|
|
|
+ dev->demod_pad[SAA7134_PAD_VID_OUT].sig_type = PAD_SIGNAL_DV;
|
|
|
dev->demod.function = MEDIA_ENT_F_ATV_DECODER;
|
|
|
|
|
|
- ret = media_entity_pads_init(&dev->demod, DEMOD_NUM_PADS,
|
|
|
+ ret = media_entity_pads_init(&dev->demod, SAA7134_NUM_PADS,
|
|
|
dev->demod_pad);
|
|
|
if (ret < 0)
|
|
|
pr_err("failed to initialize demod pad!\n");
|