#define dprintk0(__dev, __arg...) dev_dbg_lvl(__dev, 0, 0, __arg)
 
+enum tvp5150_pads {
+       TVP5150_PAD_IF_INPUT,
+       TVP5150_PAD_VID_OUT,
+       TVP5150_NUM_PADS
+};
+
 struct tvp5150 {
        struct v4l2_subdev sd;
 #ifdef CONFIG_MEDIA_CONTROLLER
-       struct media_pad pads[DEMOD_NUM_PADS];
+       struct media_pad pads[TVP5150_NUM_PADS];
        struct media_entity input_ent[TVP5150_INPUT_NUM];
        struct media_pad input_pad[TVP5150_INPUT_NUM];
 #endif
        struct v4l2_mbus_framefmt *f;
        struct tvp5150 *decoder = to_tvp5150(sd);
 
-       if (!format || (format->pad != DEMOD_PAD_VID_OUT))
+       if (!format || (format->pad != TVP5150_PAD_VID_OUT))
                return -EINVAL;
 
        f = &format->format;
                        return ret;
 
                ret = media_create_pad_link(input, 0, &sd->entity,
-                                           DEMOD_PAD_IF_INPUT, 0);
+                                           TVP5150_PAD_IF_INPUT, 0);
                if (ret < 0) {
                        media_device_unregister_entity(input);
                        return ret;
        sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
 
 #if defined(CONFIG_MEDIA_CONTROLLER)
-       core->pads[DEMOD_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK;
-       core->pads[DEMOD_PAD_IF_INPUT].sig_type = PAD_SIGNAL_ANALOG;
-       core->pads[DEMOD_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE;
-       core->pads[DEMOD_PAD_VID_OUT].sig_type = PAD_SIGNAL_DV;
+       core->pads[TVP5150_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK;
+       core->pads[TVP5150_PAD_IF_INPUT].sig_type = PAD_SIGNAL_ANALOG;
+       core->pads[TVP5150_PAD_VID_OUT].flags = MEDIA_PAD_FL_SOURCE;
+       core->pads[TVP5150_PAD_VID_OUT].sig_type = PAD_SIGNAL_DV;
 
        sd->entity.function = MEDIA_ENT_F_ATV_DECODER;
 
-       res = media_entity_pads_init(&sd->entity, DEMOD_NUM_PADS, core->pads);
+       res = media_entity_pads_init(&sd->entity, TVP5150_NUM_PADS, core->pads);
        if (res < 0)
                return res;