Message ID | 1601058657-14042-14-git-send-email-clabbe@baylibre.com |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=XatT=DC=vger.kernel.org=linux-media-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FC8EC4727F for <linux-media@archiver.kernel.org>; Fri, 25 Sep 2020 18:32:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 472AD2344C for <linux-media@archiver.kernel.org>; Fri, 25 Sep 2020 18:32:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="p0/0MtqL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729917AbgIYScf (ORCPT <rfc822; linux-media@archiver.kernel.org>); Fri, 25 Sep 2020 14:32:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728423AbgIYScf (ORCPT <rfc822;linux-media@vger.kernel.org>); Fri, 25 Sep 2020 14:32:35 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C7D8C0613D3 for <linux-media@vger.kernel.org>; Fri, 25 Sep 2020 11:32:35 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id x22so3985749pfo.12 for <linux-media@vger.kernel.org>; Fri, 25 Sep 2020 11:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ni9H5s6lxVysOmGHLIY+1loUeP0ntGh2bLjI55hkPSU=; b=p0/0MtqLxzqxOW14ixw7GaBTJjATN+e+GLL1347olTxePReRnfh1tj6bsa0ZhF+XgO G9PYqPZYFJj6KRpD2bEvZ4eu9CJq/rNeJQco5f1bJ1OirK2ZMYqOJMK11Wpx76/m0neU NdQOmaeRTuJj1gLLgi1P0lfrHImPZxOptzVpIy35dgtA6We12gdKGXEodCyTctYQnhYn kVTLpXF7mHPqIiW9g3fnHCTICUUmiJ/A/xyY1V9cOEFy8VA+88Yy57UA7IogGu4+lxzn 1aYG6Px3+cSPAF4VaI4hXHIvztRtl4vliyEa84cj15a7zwE2h4cP8vvS9YE8ONVjlqlS fiYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ni9H5s6lxVysOmGHLIY+1loUeP0ntGh2bLjI55hkPSU=; b=I/P+r35Q6acgYWFjUdppa+m8THfatdmzhCAtJtrPJmpP7bZTQ9rryMT47Gq69lMAuc kDcWbS7PAGh0Ue1CXFgQF1t5xRvBERh+AZdDyiNewHdbk5jYTS+6eYGzq4wWULzUzbMX kSVjcYWTzNShUffspID6cjhkqilSJJHYZh6O8zMDuA75tO7aSQp7otRwEwrop0b0P/j/ /wbpS9Oi4kv/ryiOzX+EHw0mq2sAWZ/iqqzjTpQeXCfqtod6a2s/zPtywlE3FVIinZSW mQGWpsHeQg5g7GkPfNo2aj/Mi3CtdCR8TwqddFZfH3LXZqyuZYB7NtsSSXa4n8gquWP8 9bdQ== X-Gm-Message-State: AOAM530hU/LdzHNbvU3a3bjQSE+Qcrdm3uQp1+iFvokM5BUdVYfH0QBn CoiJoUQ+EAQoZR9HR2zcj29hHA== X-Google-Smtp-Source: ABdhPJwHuivyD+GJ9o1HaKo+iLk9tCzpRj85MBSaa9JVJGl0b1r0krrJw+eVCwpsa9BsOGPTCgEWCA== X-Received: by 2002:a63:fe03:: with SMTP id p3mr249218pgh.100.1601058754979; Fri, 25 Sep 2020 11:32:34 -0700 (PDT) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id r16sm2554546pjo.19.2020.09.25.11.32.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Sep 2020 11:32:34 -0700 (PDT) From: Corentin Labbe <clabbe@baylibre.com> To: gregkh@linuxfoundation.org, mchehab@kernel.org, hverkuil@xs4all.nl, laurent.pinchart@ideasonboard.com Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Corentin Labbe <clabbe@baylibre.com> Subject: [PATCH RFT/RFC v2 13/47] staging: media: zoran: use VFL_TYPE_VIDEO Date: Fri, 25 Sep 2020 18:30:23 +0000 Message-Id: <1601058657-14042-14-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1601058657-14042-1-git-send-email-clabbe@baylibre.com> References: <1601058657-14042-1-git-send-email-clabbe@baylibre.com> Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org |
Series |
staging: media: bring back zoran driver
|
expand
|
diff --git a/drivers/staging/media/zoran/zoran_card.c b/drivers/staging/media/zoran/zoran_card.c index 93a0817a3936..55315f67b3b9 100644 --- a/drivers/staging/media/zoran/zoran_card.c +++ b/drivers/staging/media/zoran/zoran_card.c @@ -962,7 +962,7 @@ static int zr36057_init(struct zoran *zr) * another day. */ zr->video_dev->vfl_dir = VFL_DIR_M2M; - err = video_register_device(zr->video_dev, VFL_TYPE_GRABBER, video_nr[zr->id]); + err = video_register_device(zr->video_dev, VFL_TYPE_VIDEO, video_nr[zr->id]); if (err < 0) goto exit_free; video_set_drvdata(zr->video_dev, zr);
The VFL_TYPE_GRABBER type was removed, so let's use the new type. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> --- drivers/staging/media/zoran/zoran_card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)