From patchwork Tue Feb 26 06:38:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 2184141 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 9A20140079 for ; Tue, 26 Feb 2013 06:40:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932186Ab3BZGjd (ORCPT ); Tue, 26 Feb 2013 01:39:33 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:63686 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932146Ab3BZGjc (ORCPT ); Tue, 26 Feb 2013 01:39:32 -0500 Received: by mail-pa0-f52.google.com with SMTP id fb1so2248439pad.25 for ; Mon, 25 Feb 2013 22:39:31 -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=1ZManHu/wa8cqPtgxUkTFtoErVJSTnZR61VvHT91WWo=; b=pFU4q6EiTecuXzfjH3bvoOAgZKZs/UO8zlSLup9KRe9D+B55rcWFibNQy1bNQRUQlf c/I2x4ax8QTiV/JAVWRtSWkb7cdyQzMlDRKPN7VqvUabanCas/SgZFtuPtHNIUXFC9Gs fZ8sXWJCnEDygkwcYKWTpaX5DmMoPib8uZ/1biElo3ZH2HoNIebgiCOnjkSfKxfNK3Wv vZbApmw5Ua/HwlaZfdo2BOzdgs0v8i4XIuNCDI69aCpWyirFuaf2QOjWtcgDuySXhPrC D0GRV4TEHBMg25cZOhS3orltkBg6lX3scyjwcOTeUZltTBi3V/LVEEyPCX0oMizFyaCf WO7A== X-Received: by 10.66.19.229 with SMTP id i5mr156084pae.220.1361860771584; Mon, 25 Feb 2013 22:39:31 -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 a4sm329034paw.21.2013.02.25.22.39.29 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Feb 2013 22:39:30 -0800 (PST) From: Andrey Smirnov To: andrew.smirnov@gmail.com Cc: hverkuil@xs4all.nl, mchehab@redhat.com, sameo@linux.intel.com, perex@perex.cz, tiwai@suse.de, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 7/8] v4l2: Add private controls base for SI476X Date: Mon, 25 Feb 2013 22:38:53 -0800 Message-Id: <1361860734-21666-8-git-send-email-andrew.smirnov@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1361860734-21666-1-git-send-email-andrew.smirnov@gmail.com> References: <1361860734-21666-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 296d20e..133703d 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. */ +#define V4L2_CID_USER_SI476X_BASE (V4L2_CID_USER_BASE + 0x2000) + /* MPEG-class control IDs */ #define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)