]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] v4l: rename v4l2_format_sdr to v4l2_sdr_format
authorAntti Palosaari <crope@iki.fi>
Mon, 10 Mar 2014 13:43:24 +0000 (10:43 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 13 Mar 2014 14:00:35 +0000 (11:00 -0300)
Rename v4l2_format_sdr to v4l2_sdr_format in order to keep it in
line with other formats.

Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Documentation/DocBook/media/v4l/dev-sdr.xml
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h

index ac9f1af35267f81b47847a44f634a1c50d74c9be..524b9c4024214626f969040c06d8c6abac25e82c 100644 (file)
@@ -78,7 +78,7 @@ of the data format.
     </para>
 
     <table pgwide="1" frame="none" id="v4l2-format-sdr">
-      <title>struct <structname>v4l2_format_sdr</structname></title>
+      <title>struct <structname>v4l2_sdr_format</structname></title>
       <tgroup cols="3">
         &cs-str;
         <tbody valign="top">
index 6536e15c45e5b146ae8ec2300daa393665269eda..d9113cc71c7707a391e19246b208ee2e53751ebe 100644 (file)
@@ -246,7 +246,7 @@ static void v4l_print_format(const void *arg, bool write_only)
        const struct v4l2_vbi_format *vbi;
        const struct v4l2_sliced_vbi_format *sliced;
        const struct v4l2_window *win;
-       const struct v4l2_format_sdr *sdr;
+       const struct v4l2_sdr_format *sdr;
        unsigned i;
 
        pr_cont("type=%s", prt_names(p->type, v4l2_type_names));
index 35f4a060fafe61e0498a95a444008b6aca9bd0db..e35ad6ca1e8aa600d558c2f01bf60b22cbee93a7 100644 (file)
@@ -1714,10 +1714,10 @@ struct v4l2_pix_format_mplane {
 } __attribute__ ((packed));
 
 /**
- * struct v4l2_format_sdr - SDR format definition
+ * struct v4l2_sdr_format - SDR format definition
  * @pixelformat:       little endian four character code (fourcc)
  */
-struct v4l2_format_sdr {
+struct v4l2_sdr_format {
        __u32                           pixelformat;
        __u8                            reserved[28];
 } __attribute__ ((packed));
@@ -1740,7 +1740,7 @@ struct v4l2_format {
                struct v4l2_window              win;     /* V4L2_BUF_TYPE_VIDEO_OVERLAY */
                struct v4l2_vbi_format          vbi;     /* V4L2_BUF_TYPE_VBI_CAPTURE */
                struct v4l2_sliced_vbi_format   sliced;  /* V4L2_BUF_TYPE_SLICED_VBI_CAPTURE */
-               struct v4l2_format_sdr          sdr;     /* V4L2_BUF_TYPE_SDR_CAPTURE */
+               struct v4l2_sdr_format          sdr;     /* V4L2_BUF_TYPE_SDR_CAPTURE */
                __u8    raw_data[200];                   /* user-defined */
        } fmt;
 };