提交 daf77bd9 编写于 作者: M Mauro Carvalho Chehab

[media] tuner-core: fix compilation if the media controller is not defined

drivers/media/v4l2-core/tuner-core.c:440:7: error: 'struct v4l2_subdev' has no member named 'entity'
     t->sd.entity.name = t->name;
Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
Acked-by: NLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 63ba8c75
......@@ -437,7 +437,9 @@ static void set_type(struct i2c_client *c, unsigned int type,
t->name = analog_ops->info.name;
}
#ifdef CONFIG_MEDIA_CONTROLLER
t->sd.entity.name = t->name;
#endif
tuner_dbg("type set to %s\n", t->name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册