From patchwork Sat Jan 19 23:41:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Senna Tschudin X-Patchwork-Id: 2007651 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 CBF043FE1F for ; Sat, 19 Jan 2013 23:43:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752402Ab3ASXnF (ORCPT ); Sat, 19 Jan 2013 18:43:05 -0500 Received: from mail-qa0-f49.google.com ([209.85.216.49]:33028 "EHLO mail-qa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752372Ab3ASXnC (ORCPT ); Sat, 19 Jan 2013 18:43:02 -0500 Received: by mail-qa0-f49.google.com with SMTP id r4so3882987qaq.15 for ; Sat, 19 Jan 2013 15:43:01 -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=HQDxJ6Yeh2n+1kEcgDwsx0oHbYw/dfu10ymiQXKipbM=; b=clY05jf8wYDaI3gHR+v2rGuU/grgjTXh89SD8XlxIUDY/ESCLY08t0x+fmU+qkd+CU fMRFhJO7dCT2jIMOdrZv2bTMtfOkEDUN22UyI5dWqIsoUDVsaumTj4fzmsZ8OhTyX81W 8Z6H3iTjH0+GWHh0VRwyKEcL7OvjZ+9sYMhSzaIoPS/pUHTraxBBBhLV/6YN7hsVPPFS EVVJOoi5j5N3ZC8Kj36fSp5Lxn7Iiqsum9hSiPul4f8pvdo8dwA3eoFfiShwgmCP47qj vaHEBOnUNbNY8412BYz7EQ0/4CQ1O3jB+hsFDWSuHQ1C9Gzv3D8dX3+qiDQrLKvOkRcY 8l1g== X-Received: by 10.229.193.134 with SMTP id du6mr737qcb.46.1358638981377; Sat, 19 Jan 2013 15:43:01 -0800 (PST) Received: from ace.home.cabure.org (200-140-13-6.bsace705.dsl.brasiltelecom.net.br. [200.140.13.6]) by mx.google.com with ESMTPS id y1sm6058595qan.22.2013.01.19.15.42.58 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 19 Jan 2013 15:43:00 -0800 (PST) From: Peter Senna Tschudin To: mchehab@redhat.com Cc: peter.senna@gmail.com, david@hardeman.nu, elezegarcia@gmail.com, linux-media@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH V2 23/24] usb/hdpvr/hdpvr-i2c.c: use IS_ENABLED() macro Date: Sat, 19 Jan 2013 21:41:30 -0200 Message-Id: <1358638891-4775-24-git-send-email-peter.senna@gmail.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1358638891-4775-1-git-send-email-peter.senna@gmail.com> References: <1358638891-4775-1-git-send-email-peter.senna@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org replace: #if defined(CONFIG_I2C) || \ defined(CONFIG_I2C_MODULE) with: #if IS_ENABLED(CONFIG_I2C) This change was made for: CONFIG_I2C Reported-by: Mauro Carvalho Chehab Signed-off-by: Peter Senna Tschudin --- Changes from V1: Updated subject drivers/media/usb/hdpvr/hdpvr-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/hdpvr/hdpvr-i2c.c b/drivers/media/usb/hdpvr/hdpvr-i2c.c index 6c5054f..a38f58c 100644 --- a/drivers/media/usb/hdpvr/hdpvr-i2c.c +++ b/drivers/media/usb/hdpvr/hdpvr-i2c.c @@ -13,7 +13,7 @@ * */ -#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) +#if IS_ENABLED(CONFIG_I2C) #include #include