include: media: Add maxframerate field
[linux-3.10.git] / include / media / v4l2-mediabus.h
index 645a3f4..9f0b812 100644 (file)
@@ -97,6 +97,7 @@ static inline void v4l2_fill_pix_format(struct v4l2_pix_format *pix_fmt,
        pix_fmt->ycbcr_enc = mbus_fmt->ycbcr_enc;
        pix_fmt->quantization = mbus_fmt->quantization;
        pix_fmt->xfer_func = mbus_fmt->xfer_func;
+       pix_fmt->maxframerate = mbus_fmt->maxframerate;
 }
 
 static inline void v4l2_fill_mbus_format(struct v4l2_mbus_framefmt *mbus_fmt,
@@ -110,6 +111,7 @@ static inline void v4l2_fill_mbus_format(struct v4l2_mbus_framefmt *mbus_fmt,
        mbus_fmt->ycbcr_enc = pix_fmt->ycbcr_enc;
        mbus_fmt->quantization = pix_fmt->quantization;
        mbus_fmt->xfer_func = pix_fmt->xfer_func;
+       mbus_fmt->maxframerate = pix_fmt->maxframerate;
        mbus_fmt->code = code;
 }