From patchwork Fri Apr 1 14:24:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herton Ronaldo Krzesinski X-Patchwork-Id: 681481 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p31EPKlN029317 for ; Fri, 1 Apr 2011 14:25:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757066Ab1DAOYm (ORCPT ); Fri, 1 Apr 2011 10:24:42 -0400 Received: from adelie.canonical.com ([91.189.90.139]:46309 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757196Ab1DAOY0 (ORCPT ); Fri, 1 Apr 2011 10:24:26 -0400 Received: from youngberry.canonical.com ([91.189.89.112]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Q5fGy-0005lF-Fi; Fri, 01 Apr 2011 14:24:24 +0000 Received: from 201.47.20.179.dynamic.adsl.gvt.net.br ([201.47.20.179] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Q5fGy-00061J-1A; Fri, 01 Apr 2011 14:24:24 +0000 From: Herton Ronaldo Krzesinski To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Verkuil Subject: [PATCH] v4l: subdev: initialize sd->internal_ops in v4l2_subdev_init Date: Fri, 1 Apr 2011 11:24:17 -0300 Message-Id: <1301667857-5145-2-git-send-email-herton.krzesinski@canonical.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1301667857-5145-1-git-send-email-herton.krzesinski@canonical.com> References: <1301667857-5145-1-git-send-email-herton.krzesinski@canonical.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 01 Apr 2011 14:25:20 +0000 (UTC) diff --git a/drivers/media/video/v4l2-subdev.c b/drivers/media/video/v4l2-subdev.c index 0b80644..0f70c74 100644 --- a/drivers/media/video/v4l2-subdev.c +++ b/drivers/media/video/v4l2-subdev.c @@ -324,6 +324,7 @@ void v4l2_subdev_init(struct v4l2_subdev *sd, const struct v4l2_subdev_ops *ops) sd->grp_id = 0; sd->dev_priv = NULL; sd->host_priv = NULL; + sd->internal_ops = NULL; #if defined(CONFIG_MEDIA_CONTROLLER) sd->entity.name = sd->name; sd->entity.type = MEDIA_ENT_T_V4L2_SUBDEV;