From patchwork Wed Feb 27 06:06:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 2192341 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 879063FD4E for ; Wed, 27 Feb 2013 06:09:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932127Ab3B0GHk (ORCPT ); Wed, 27 Feb 2013 01:07:40 -0500 Received: from mail-da0-f51.google.com ([209.85.210.51]:49927 "EHLO mail-da0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932124Ab3B0GHj (ORCPT ); Wed, 27 Feb 2013 01:07:39 -0500 Received: by mail-da0-f51.google.com with SMTP id z17so126171dal.38 for ; Tue, 26 Feb 2013 22:07:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=Jkhh249V+h+1pcK9cXgNDqcOM4W1VhWfp44bMem4PEY=; b=ox7b+4SHt8Ek5DLm3gFkvO04y6TgqrOo7RMf+WmQCV76IratBGtRth23i3FL2Z38tH SDa6T1dQNqO1tHaZPqM/hvNQS6M6T27F/m2hkG5MEug7Wrr41BihRtfOpnmrp7n6ChjH N3ZQ2ClIfPuoisuqpJeCKxjUygCM1Ff3bgcRucnbusPwfLg47rBfBEN2wpG1LylK/atE 0b42AEfbPZrqgqpMVWugXMxU4MCPkxooc2hWJscntdOB1I8qvDw1WpV81RTnSY1UEfn7 0IBxdU4mj8y/ghFF0aiugEn5SI8EQ+QoMKholmnM4tC8Ei2vT/tCk2bAnERyX2dfx3RA Ffpg== X-Received: by 10.68.195.197 with SMTP id ig5mr1525940pbc.178.1361945258577; Tue, 26 Feb 2013 22:07:38 -0800 (PST) Received: from localhost.localdomain (c-24-19-54-161.hsd1.wa.comcast.net. [24.19.54.161]) by mx.google.com with ESMTPS id gg7sm3469423pbc.45.2013.02.26.22.07.37 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 22:07:37 -0800 (PST) From: Andrey Smirnov To: mchehab@redhat.com Cc: andrew.smirnov@gmail.com, hverkuil@xs4all.nl, sameo@linux.intel.com, sam@ravnborg.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 8/9] v4l2: Add private controls base for SI476X Date: Tue, 26 Feb 2013 22:06:52 -0800 Message-Id: <1361945213-4280-9-git-send-email-andrew.smirnov@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1361945213-4280-1-git-send-email-andrew.smirnov@gmail.com> References: <1361945213-4280-1-git-send-email-andrew.smirnov@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add a base to be used for allocation of all the SI476X specific controls in the corresponding driver. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- include/uapi/linux/v4l2-controls.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h index 3e985be..22e5170 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h @@ -147,6 +147,10 @@ enum v4l2_colorfx { * of controls. We reserve 16 controls for this driver. */ #define V4L2_CID_USER_MEYE_BASE (V4L2_CID_USER_BASE + 0x1000) +/* The base for the si476x driver controls. See include/media/si476x.h for the list + * of controls. Total of 16 controls is reserved for that driver */ +#define V4L2_CID_USER_SI476X_BASE (V4L2_CID_USER_BASE + 0x1010) + /* MPEG-class control IDs */ #define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)