From patchwork Sat Jan 19 16:33:05 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: 2006871 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 A72953FE1F for ; Sat, 19 Jan 2013 16:33:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751810Ab3ASQdr (ORCPT ); Sat, 19 Jan 2013 11:33:47 -0500 Received: from mail-qa0-f45.google.com ([209.85.216.45]:59098 "EHLO mail-qa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751737Ab3ASQdq (ORCPT ); Sat, 19 Jan 2013 11:33:46 -0500 Received: by mail-qa0-f45.google.com with SMTP id bv4so2069245qab.4 for ; Sat, 19 Jan 2013 08:33:45 -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=MyGhbqoF4nnsl9dINNH07TpdGgvBvWDNy32ZMDVbmYI=; b=LIo9d4OzJQc+F5701jroQbTOcHidScVY5scM0UDgsezmzyeErYK/yVwVY7HdCOieTw cbK8PrieqA+DbYCZHb0JSFgqfRMkL4CMh0vqj9BRCiLKVLIWvlNjJgPcL3+9y4v6ewu2 07tuXTq30JjUpM+TpfRknuM8TGnQsZF/4cNYqYXV5KayDKZtAerRKicA0D5TO/WEZRo4 mDD9lxHI9lYnZkYhknaOYi3XqafmDAXRV6Ob9cA1w49ALSDGU+j6ZrXb++kT2oIMak6f Q3s3F2QIEk0BNB6T47kRxVPpir+WO50tuZFz1ga68D98xYH37fm7FvxN2Ev/Dfqlq7in DhDg== X-Received: by 10.49.133.195 with SMTP id pe3mr15201485qeb.58.1358613225600; Sat, 19 Jan 2013 08:33:45 -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 f7sm5410451qap.13.2013.01.19.08.33.42 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 19 Jan 2013 08:33:44 -0800 (PST) From: Peter Senna Tschudin To: mchehab@redhat.com Cc: remi.schwartz@gmail.com, sean@mess.org, kyle@kyle.strickland.name, simon.farnsworth@onelan.co.uk, linux-media@vger.kernel.org, kernel-janitors@vger.kernel.org, Peter Senna Tschudin Subject: [PATCH 02/24] use IS_ENABLED() macro Date: Sat, 19 Jan 2013 14:33:05 -0200 Message-Id: <1358613206-4274-2-git-send-email-peter.senna@gmail.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1358613206-4274-1-git-send-email-peter.senna@gmail.com> References: <1358613206-4274-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_VIDEO_SAA7134_DVB) || \ defined(CONFIG_VIDEO_SAA7134_DVB_MODULE) with: #if IS_ENABLED(CONFIG_VIDEO_SAA7134_DVB) This change was made for: CONFIG_VIDEO_SAA7134_DVB Reported-by: Mauro Carvalho Chehab Signed-off-by: Peter Senna Tschudin --- drivers/media/pci/saa7134/saa7134.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/saa7134/saa7134.h b/drivers/media/pci/saa7134/saa7134.h index 0a3feaa..ace44fd 100644 --- a/drivers/media/pci/saa7134/saa7134.h +++ b/drivers/media/pci/saa7134/saa7134.h @@ -42,7 +42,7 @@ #include #include #include -#if defined(CONFIG_VIDEO_SAA7134_DVB) || defined(CONFIG_VIDEO_SAA7134_DVB_MODULE) +#if IS_ENABLED(CONFIG_VIDEO_SAA7134_DVB) #include #endif @@ -644,7 +644,7 @@ struct saa7134_dev { struct work_struct empress_workqueue; int empress_started; -#if defined(CONFIG_VIDEO_SAA7134_DVB) || defined(CONFIG_VIDEO_SAA7134_DVB_MODULE) +#if IS_ENABLED(CONFIG_VIDEO_SAA7134_DVB) /* SAA7134_MPEG_DVB only */ struct videobuf_dvb_frontends frontends; int (*original_demod_sleep)(struct dvb_frontend *fe);