media: v4l2-mc: get rid of global pad indexes
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 1 Aug 2018 10:58:38 +0000 (06:58 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 17 Sep 2018 17:16:19 +0000 (13:16 -0400)
commit65e83fb00b2df3eadc23d71aacf626af3700f337
treea02f02624227772b59acd06c7b5972fb148e9e33
parentdb7da96ba861e0bd51e0fc206bb59e0051b6b427
media: v4l2-mc: get rid of global pad indexes

Now that all drivers are using pad signal types, we can get
rid of the global static definition, as routes are stablished
using the pad signal type.

The tuner and IF-PLL pads are now used only by the tuner core,
so move the definitions to be there.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/tuner-core.c
include/media/v4l2-mc.h