From patchwork Tue Feb 26 16:31:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 2186341 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 48DF4DF215 for ; Tue, 26 Feb 2013 16:32:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759928Ab3BZQcT (ORCPT ); Tue, 26 Feb 2013 11:32:19 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:33151 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759896Ab3BZQcL (ORCPT ); Tue, 26 Feb 2013 11:32:11 -0500 Received: by mail-pa0-f45.google.com with SMTP id kl14so2539710pab.32 for ; Tue, 26 Feb 2013 08:32:10 -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=/uqByxAF5NRjwbzS0wOYWhT3ps3l94h4dnbsSGtOdzA=; b=wvyp6uEhSQYBWQY7/7wmdORzKOfOeyEvWovYxjl9bVksEVzxPIt+WFkcx7CCulFn8X aNY63QS3gDXDO1O2PtlOxtO3B2ldXZ5gLgl3mm9vSMiVpXo9nMm0fATv7nADE+W51a26 nnPgVtSjrLvLaeEwUl1Zo75EtEAtuVMrRpJXLuRH6/eUSkW47VL2Vixf1DEf7hprz3q8 +Hgzk7WVOaK/YDkfrdxWQy/W4Fn2dwK9A+nsXwHWfdEwHcssJ9HtL+zJWGIMWtXoWwGx mZWzq3jKQCAU37IZ6kPoPmgOvXB+0xFVKcdJQx9APyzMAJPdQgjmOV3urrZxR6Co2A5r GaUg== X-Received: by 10.68.227.129 with SMTP id sa1mr24205456pbc.107.1361896330662; Tue, 26 Feb 2013 08:32:10 -0800 (PST) Received: from charmander.workstations.synapsedev.com ([65.89.160.20]) by mx.google.com with ESMTPS id d1sm1979406pav.6.2013.02.26.08.32.09 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 08:32:09 -0800 (PST) From: Andrey Smirnov To: andrew.smirnov@gmail.com Cc: hverkuil@xs4all.nl, mchehab@redhat.com, sameo@linux.intel.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 8/9] v4l2: Add private controls base for SI476X Date: Tue, 26 Feb 2013 08:31:34 -0800 Message-Id: <1361896295-26138-9-git-send-email-andrew.smirnov@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1361896295-26138-1-git-send-email-andrew.smirnov@gmail.com> References: <1361896295-26138-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. 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)