Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1443101imm; Wed, 26 Sep 2018 18:40:49 -0700 (PDT) X-Google-Smtp-Source: ACcGV63GfzVZjbbGeim4pssCkGbUbkRM3pOfV884DE6JvO4bKpEBu32ObmChWhcBCc5y4Q5XLNNA X-Received: by 2002:a63:ba5e:: with SMTP id l30-v6mr7798454pgu.76.1538012449560; Wed, 26 Sep 2018 18:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538012449; cv=none; d=google.com; s=arc-20160816; b=FMpBZGBNuvctHeMKCJg8CVcZewqq88cl9peLSnjc624lutOr33lWs9NdLXlGb0Q8bO f9mrcabiCuPWm707EDA04/hZCiBnUFR37Dlr0PvsO7OnVLobekXQfgAItH0Q0EJXOSgU w2JN/ePyIztfzchLh2BqT0eiCHp2p90nThznXCkCn0vxIf+3/sYeiWT8qKvn6pAlmrPm uunGFrXE2DI45xETthbTVMMzD05S/Cd0N4oLHJxKv9+LEwI/4WVlvQsP4OShu8MaJe/q R/bjvNCkJPT64DrRWSq3lFk/BclaWnFwxSl3idigfxadEhbChJ+faOwXYjO+kTEUl9XA c/kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=Ig8aYG+bq8ur+x3OT7VAaBFbnTbtP5co/zowmafEj4M=; b=wk97CaxUTSBS2e3CLIjn+zy80iloN3i7Ix1UPMRdg/YUWHdlts8KQpUygmRiWShohC wYAZUpe+R1aTyT7oOZcLlmRVvYwmp1kz2NQeABitmPbcENUnxx7iWBk7cknTqKJCSu3U vTP7azhbd9SD/mIfhe9iR50UoSetnVMe3xao/QwAZWFWqzjl0ifmcF2XMfOqey6Iemc2 yZsiEcRCQ1ARy3lziQ++MnvLDBnBCrmeSp6UKp+2VxLA6EV+23TIgetFZBmBiKzSs99i DEhvzDKJbJQZ8fL2SaIg2VcJilYHd9hgYdihqFkX38NQuv+6BDQc88fOb8NT+/BPg9wx wgjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bqSt14mH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9-v6si641710pld.28.2018.09.26.18.40.33; Wed, 26 Sep 2018 18:40:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bqSt14mH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727244AbeI0Hzy (ORCPT + 99 others); Thu, 27 Sep 2018 03:55:54 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:37507 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726477AbeI0Hzy (ORCPT ); Thu, 27 Sep 2018 03:55:54 -0400 Received: by mail-qt1-f193.google.com with SMTP id n6-v6so1099911qtl.4; Wed, 26 Sep 2018 18:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=Ig8aYG+bq8ur+x3OT7VAaBFbnTbtP5co/zowmafEj4M=; b=bqSt14mH+2i9+zp4UOK7PpyLoG0psKx6j3C4hWCKigxOXBO0lHU+8nztXYaJWAwOq/ wPQeVlT5KhXzETwX0egubL5zsDtqL7ZoAOHblp4Hp+840D0xfuAEEhhxLGyou66oJ71T pO0L8PQd4HXNv9uxI9Yj9nc7ZpKt7Xp7fLDRDrGecZfQCqX+KjcmvoznOLmF+qBaG7PO WF4/Fk6CJNuGJs6LjDojt5Eoqn6XbWTmiiVfXLac86u0+OIH993FIEstScFneL1p+2Jv 93cBFZEkKrbUcNyqDOIrFEKZG8g8bL6n05EerYC6AL3HUQ/JMFrGWvAkiX+5sHTmArxH zW/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=Ig8aYG+bq8ur+x3OT7VAaBFbnTbtP5co/zowmafEj4M=; b=Xynor3n0ZJR5AYQwZ36+EoGV/9SYQ4muzdkOiviltolQL5C1IWku7rM3VIsYfDU/MF 1p+Pvk23eStq2m3V5S1jrjzd9rJTfIUboEnyqj2JssMFfuiPsi1e2iyxuGri8Ec5Y7Xu Bfg863/Uos6Zba+U54Mc7hopxoTz3xOvpcFOh05fHiOI3qYKI4hTOHv6qIoGOww2KraM OroQbDPl6mARzIKFGJeS4ZQVxLj9s7xKee9Ujy4oVhe4aijbbyb2WIR3qfLEAaiZP5/1 fk5feOMCYfqnC84RYxiBQFAK2X/suWR0rty5OeQhSash4TuaUgy/O9kzeRGJ1FAAlHIy X+Qg== X-Gm-Message-State: ABuFfoj78lnTcXqm3D9nl5DPs3J6NTeUX+bNeIWUGvjVS3WT3FVt2nAa EY1OvUqHtJO31ZcxDFz9Rwo= X-Received: by 2002:a0c:d2d3:: with SMTP id x19-v6mr6536821qvh.104.1538012407962; Wed, 26 Sep 2018 18:40:07 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id w5-v6sm454871qkw.69.2018.09.26.18.39.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 18:40:07 -0700 (PDT) Date: Wed, 26 Sep 2018 22:39:56 -0300 From: Leonardo =?utf-8?B?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH v2 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled Message-ID: <20180927013956.GA8956@WindFlash> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Avoids building driver if 'make drivers/dio/' is called and CONFIG_DIO is disabled. Signed-off-by: Leonardo BrĂ¡s --- drivers/dio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dio/Makefile b/drivers/dio/Makefile index ae92d17083f2..f5cffe232448 100644 --- a/drivers/dio/Makefile +++ b/drivers/dio/Makefile @@ -2,4 +2,4 @@ # Makefile for the linux kernel. # -obj-y := dio.o dio-driver.o dio-sysfs.o +obj-$(CONFIG_DIO) := dio.o dio-driver.o dio-sysfs.o \ No newline at end of file -- 2.19.0