[media] replace all occurrences of MEDIA_ENT_T_DEVNODE_DVB
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 21 Aug 2015 14:54:40 +0000 (11:54 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:49 +0000 (12:18 -0200)
Now that interfaces and entities are distinct, it makes no sense
of keeping something named as MEDIA_ENT_T_DEVNODE_DVB_foo.

Made via this script:
for i in $(git grep -l MEDIA_ENT_T|grep -v uapi/linux/media.h); do sed s,MEDIA_ENT_T_DEVNODE_DVB_,MEDIA_ENT_T_DVB_, <$i >a && mv a $i; done
for i in $(git grep -l MEDIA_ENT_T|grep -v uapi/linux/media.h); do sed s,MEDIA_ENT_T_DVB_DVR,MEDIA_ENT_T_DVB_TSOUT, <$i >a && mv a $i; done
for i in $(git grep -l MEDIA_ENT_T|grep -v uapi/linux/media.h); do sed s,MEDIA_ENT_T_DVB_FE,MEDIA_ENT_T_DVB_DEMOD, <$i >a && mv a $i; done
for i in $(git grep -l MEDIA_ENT_T|grep -v uapi/linux/media.h); do sed s,MEDIA_ENT_T_DVB_NET,MEDIA_ENT_T_DVB_DEMOD_NET_DECAP, <$i >a && mv a $i; done

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/DocBook/media/v4l/media-ioc-enum-entities.xml

index 910243d4edb837d6581799bb31ab777a17a28cf8..32a7836356491099a6aaf9e78a339f9943b6253d 100644 (file)
            <entry>ALSA card</entry>
          </row>
          <row>
-           <entry><constant>MEDIA_ENT_T_DEVNODE_DVB_FE</constant></entry>
+           <entry><constant>MEDIA_ENT_T_DVB_DEMOD</constant></entry>
            <entry>DVB frontend devnode</entry>
          </row>
          <row>
-           <entry><constant>MEDIA_ENT_T_DEVNODE_DVB_DEMUX</constant></entry>
+           <entry><constant>MEDIA_ENT_T_DVB_DEMUX</constant></entry>
            <entry>DVB demux devnode</entry>
          </row>
          <row>
-           <entry><constant>MEDIA_ENT_T_DEVNODE_DVB_DVR</constant></entry>
+           <entry><constant>MEDIA_ENT_T_DVB_TSOUT</constant></entry>
            <entry>DVB DVR devnode</entry>
          </row>
          <row>
-           <entry><constant>MEDIA_ENT_T_DEVNODE_DVB_CA</constant></entry>
+           <entry><constant>MEDIA_ENT_T_DVB_CA</constant></entry>
            <entry>DVB CAM devnode</entry>
          </row>
          <row>
-           <entry><constant>MEDIA_ENT_T_DEVNODE_DVB_NET</constant></entry>
+           <entry><constant>MEDIA_ENT_T_DVB_DEMOD_NET_DECAP</constant></entry>
            <entry>DVB network devnode</entry>
          </row>
          <row>