v4l2_i2c_subdev_init(sd, client, &msp_ops);
 
 #if defined(CONFIG_MEDIA_CONTROLLER)
-       state->pads[IF_AUD_DEC_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK;
-       state->pads[IF_AUD_DEC_PAD_IF_INPUT].sig_type = PAD_SIGNAL_AUDIO;
-       state->pads[IF_AUD_DEC_PAD_OUT].flags = MEDIA_PAD_FL_SOURCE;
-       state->pads[IF_AUD_DEC_PAD_OUT].sig_type = PAD_SIGNAL_AUDIO;
+       state->pads[MSP3400_PAD_IF_INPUT].flags = MEDIA_PAD_FL_SINK;
+       state->pads[MSP3400_PAD_IF_INPUT].sig_type = PAD_SIGNAL_AUDIO;
+       state->pads[MSP3400_PAD_OUT].flags = MEDIA_PAD_FL_SOURCE;
+       state->pads[MSP3400_PAD_OUT].sig_type = PAD_SIGNAL_AUDIO;
 
        sd->entity.function = MEDIA_ENT_F_IF_AUD_DECODER;
 
 
 extern bool msp_dolby;
 extern int msp_stereo_thresh;
 
+enum msp3400_pads {
+       MSP3400_PAD_IF_INPUT,
+       MSP3400_PAD_OUT,
+       MSP3400_NUM_PADS
+};
+
 struct msp_state {
        struct v4l2_subdev sd;
        struct v4l2_ctrl_handler hdl;
        unsigned int         watch_stereo:1;
 
 #if IS_ENABLED(CONFIG_MEDIA_CONTROLLER)
-       struct media_pad pads[IF_AUD_DEC_PAD_NUM_PADS];
+       struct media_pad pads[MSP3400_NUM_PADS];
 #endif
 };