From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from nblzone-211-213.nblnetworks.fi ([83.145.211.213]:49064 "EHLO hillosipuli.retiisi.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751001AbeEDKva (ORCPT ); Fri, 4 May 2018 06:51:30 -0400 Date: Fri, 4 May 2018 13:51:28 +0300 From: Sakari Ailus To: Hans Verkuil Cc: linux-media@vger.kernel.org, Hans Verkuil Subject: Re: [PATCHv13 01/28] v4l2-device.h: always expose mdev Message-ID: <20180504105128.fruwu2jofn2iz5gt@valkosipuli.retiisi.org.uk> References: <20180503145318.128315-1-hverkuil@xs4all.nl> <20180503145318.128315-2-hverkuil@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180503145318.128315-2-hverkuil@xs4all.nl> Sender: linux-media-owner@vger.kernel.org List-ID: On Thu, May 03, 2018 at 04:52:51PM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > The mdev field is only present if CONFIG_MEDIA_CONTROLLER is set. > But since we will need to pass the media_device to vb2 and the > control framework it is very convenient to just make this field > available all the time. If CONFIG_MEDIA_CONTROLLER is not set, > then it will just be NULL. > > Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus -- Sakari Ailus e-mail: sakari.ailus@iki.fi