Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp182857imm; Thu, 27 Sep 2018 18:48:20 -0700 (PDT) X-Google-Smtp-Source: ACcGV638kXQXUDoFtcttO79Su1o6EedqfXDc5BctzInYtAY3RAQVdvLPA5WHh9P07KjTCMjBgcqP X-Received: by 2002:a63:2dc5:: with SMTP id t188-v6mr51287pgt.362.1538099300837; Thu, 27 Sep 2018 18:48:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538099300; cv=none; d=google.com; s=arc-20160816; b=QBinEPoCUt5yMT8YdshRlqq8ji2bKiFnROB3NPb0DWaPNZ1Q4O31G//+1rvrTcrNsp 1E8/pifBK0oiBMrsWPcKebTOgkXh4Nq8lN/hqtOl9amP6CbvzdsFwe0jxAvo90QgP7Pq yf+XpanQmNMkqQf7p+nJLpVi3VKnO8nw8lU+NiNkjSdli4LLQ6zo2BIJDlkeyUcHA77X /GV3U86W7g4hahGHyc9ybymsA7g/Q1RvwntyfIrYi2tmsRfyTCIe3fBKfXtXBDp02UFp p74GYcXZKem+XnR0mefGBlKRQY8jEvDD0kAqR3v0caDd4GbZaY32gTUq/lg0559/IrGf oz8Q== 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=X4z7jPf+dvuu42+tYZqKX430fxhW5Xfzad8xEo8VLqg=; b=mLTbDqoEz0zxmytavpjwwCEwWfrL+FWAM57IL4aX5Zdog1HOl8lGPYnj1UATcAv9cE WB3wKoHy3/Zn/8ffMnPsGt94Ck5A6LOY48oC96ee7cidiFt7h66EfUQsoCzSLYgH5QfG ckmweUtkLk9Jfamh9ClZD7MsyohG5B4tlo/drdXy7dpDhCndEVYYuLYKc5eJ/r/3kNbh SwOou/81QF0LnEkXdDoQIdkr7M/04qOfLIMgXAgEewpMma7o7gwr3AI6WO39Ta/S5mv2 uDjiAF9FRXFGtivYdfztTINgUFN1XHjXI++W6/p7gmG9p8Pi52dDHtiVuBJ310mBD4Uy d3cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TIlYUnCN; 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 4-v6si3464926pgg.630.2018.09.27.18.48.04; Thu, 27 Sep 2018 18:48:20 -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=TIlYUnCN; 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 S1728602AbeI1IHx (ORCPT + 99 others); Fri, 28 Sep 2018 04:07:53 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:37616 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbeI1IHw (ORCPT ); Fri, 28 Sep 2018 04:07:52 -0400 Received: by mail-qt1-f193.google.com with SMTP id n6-v6so5024367qtl.4; Thu, 27 Sep 2018 18:46:39 -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=X4z7jPf+dvuu42+tYZqKX430fxhW5Xfzad8xEo8VLqg=; b=TIlYUnCNWpQijbfpEwuhe5dycr9EThxJFylubBOpgYIZ7lcXjakkDG5ZsH38m4ual8 IoREXTJtYOpX7ZjioyUMOoQRwfSHC5B838qJ4KigSeAMfnqbt1KMWTkKN3bfQ47kNrYS DEOsmuXXVteRjhSqETJVZceoJt42ipuHYirFnVbacv59xPCYxTZe8NXrZlKAT4c+GBxz tz1q+EkUcsw68q+xNW0u0Vm83sqNXJp1PKYkR9x/ujRhauLYItsFViPOOXJJ9MHCQe8O Q/6Y6FZ7flYmhHJJAiza39a0gYeqbKAoLhPjeJrUbDEzXIsXLzUwwe37todopHB116jy XxQA== 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=X4z7jPf+dvuu42+tYZqKX430fxhW5Xfzad8xEo8VLqg=; b=Q+GciXnQU0mbvvvo+EB2zEiNgwmgGLh1DpHyxoJSUR0MeJ66Qo5GRDtpcTvIKxBvH7 c9qL4BYyLxIqSXhUzdO1ojEkSvgDmYglgFG04vkGKB8Mdq4IYi97uzThEJQ5CfnhCBRz FdZZv92mjujpkRE24gxhRvOxOXBNlVq3Uuk1t23kzEk+pBaU8cNTprKfPv3gOyYc/D5H /q9Z6su0yIxKkaQpqnS2OTaHiGzfcnCQS1F7Fvwom+10D9oh9rwW6QFqR4UDskAfFsIi lz0UysuzEO0f2twQX1RN4LzkoxvDR2yk8t6nCIQ/pzyNa7hT1ArViw2LF2D6SOYbeNVm T4CQ== X-Gm-Message-State: ABuFfoh8lJQJeum0SLupKdNGYidwloHPAWhnwSx1b0w/t8OMsqTNRxUE yw6AozVLhgomUjJlnyvM/6Q= X-Received: by 2002:ac8:2d69:: with SMTP id o38-v6mr10364997qta.21.1538099198983; Thu, 27 Sep 2018 18:46:38 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id m190-v6sm2050250qkd.48.2018.09.27.18.46.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:46:38 -0700 (PDT) Date: Thu, 27 Sep 2018 22:46:28 -0300 From: Leonardo =?utf-8?B?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org, /tmp/v3-0002-drivers-nubus-Avoids-building-driver-if-CONFIG_NU.patch@windflash, /tmp/v3-0003-drivers-parisc-Avoids-building-driver-if-CONFIG_P.patch@windflash, /tmp/v3-0004-drivers-zorro-Avoids-building-proc.o-if-CONFIG_ZO.patch@windflash, /tmp/v3-0005-drivers-s390-Avoids-building-drivers-if-ARCH-is-n.patch@windflash, /tmp/v3-0006-drivers-oprofile-Avoids-building-driver-from-dire.patch@windflash, /tmp/v3-0007-drivers-hwtracing-Adds-Makefile-to-enable-buildin.patch@windflash 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 v3 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled Message-ID: <20180928014628.GA10427@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..8fc80e805b90 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 -- 2.19.0