Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp176628imm; Tue, 25 Sep 2018 18:52:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV62pIteTUwdxg9dg2UoIHAqn/4saG9VSfRnP+tcatMUxKnfFUR2cJfEgVgS3gnlDGWcXrQ8F X-Received: by 2002:a62:8247:: with SMTP id w68-v6mr3672935pfd.215.1537926766012; Tue, 25 Sep 2018 18:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537926765; cv=none; d=google.com; s=arc-20160816; b=gOKxkbL8ZsZStjUW9z7tP9fCSClIpzN7CdBPi8j5KQnY31Cq/JZkBjETkhy3FKZwUt qAo2X9E3NJSBj38m4f6c4PoR+dBNM9RJ16EhT5Mg61N/jd42XRq/PEwHdh5lpTKXkUjJ P4QMJbMz0nj06/VgMikQj2E2gJV6gDx1UE5313fEvRXxA0nM5BBCrqCnAHa+WbCt8HdJ JZD7yVJDL5usZTEX3YPuGZWrNaHVmFCQeC6raAxIJiVgxxXacjSkhKPlZ3GIO2EpQ+dG INcJJ/dgU1QyRaiyUjcMmUjMfQtTCiOu6/n3D1Dar5tIh0EAO+8Y/xVVHd+Q9M6IpudP l1xQ== 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=AgA+YO5UvYlj/4UvMs5CxOZ0CoD9k4WWoFFy4Ka14h/4LpjdxsMDGziz7PwJPQnqHo xZ+2xwuIMjpC6qXBQXRyNhAEShY+Q9DkR8Yvwou4BimdBaOvhym/xPUlCxBresSCyUOP Z6KQyANWUz86lsirhYVdoQIu5aV0r8aUMTJlVKa1MJW0PzjQIzyxIv59TvDDJB0xTdlb GdJjQIUYJRmzgZeamwkINNMZZhMOzzB3qjMb0pe7L59xLKXoloqd/tHYigBZEZymG6yS DDE34vnKKXLObRdwR8GtpABA3xToKHhmeQqQcND3bbtDQO6QFYB8mL0zrCrPDspqqAJz p4UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SQjo9PSq; 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 v12-v6si3427867pfm.341.2018.09.25.18.52.30; Tue, 25 Sep 2018 18:52:45 -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=SQjo9PSq; 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 S1727265AbeIZICf (ORCPT + 99 others); Wed, 26 Sep 2018 04:02:35 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:46908 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbeIZICf (ORCPT ); Wed, 26 Sep 2018 04:02:35 -0400 Received: by mail-qt1-f195.google.com with SMTP id h22-v6so7671579qtr.13; Tue, 25 Sep 2018 18:52:12 -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=SQjo9PSqRnFTjGgH2n9oA90lGG7neexgSwrXrvCDWHhqZXulbsfqV472Cw11m8SPK8 BjJd/FMlgY0rTFOgdNdPHMCK2GOTm7AXiFW/e790cCgpelFRkHVJqDEe/uWxqA6xgoJq eCsQE7gMdnO6RL1qhkksuhJXS5pDpVKi2xbpml3HGy8GBIhAGTm36FYGjVYY9zU4w80F gA9P7659H4KMUB/ifH7RrA07B7R8U3nzAAkuNhgxYLQl21KFaWQt+RJ7fDGij2f83+Eb tUc47c/yq9N+8Y5255TvYqv/E3CcjegEZwb2g3BXOEiQQp/KSl5FH+QA4gbGqXkfzEZQ 02nw== 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=ZTcmP8DPGW+U8vWs/CIN8wR8pjcxHL+DA+5s1rZqcyLF2h8frVL78gu86/OAEdEhqs 4MrSPbWyh7lEA7BuBdEWOJsYzGQs2Wz0Q7st88f8SMkuF0+HUSRMgzdU//9B22/sfjdu lwSpM9AS5GSbRw41kp4xLPvaV4SufknlAcjWAXvA9JDINzjtgluH0YT5gWEs8ZY6eN+Z aYf2VwuFQ8bfSXhEvQCzbpgRnn6FcAuLDqng43TVJOvTbIa02byaFggpPf1t0Vwn6m1n RY//LMgnP1gA+vqXkTAXJ18EqbWEOtgwrfpvwO8tjIYuK1Lsv0zZcOX3T2cxAIRhI2yN BvCg== X-Gm-Message-State: ABuFfojrau3e323FAlt8UzMCX/w5HGK/bzadWJE1HeAy07+korqW3xbv mC87Jv3MY69qgdQgjj8CljQ= X-Received: by 2002:a0c:e5ce:: with SMTP id u14-v6mr2771752qvm.6.1537926731832; Tue, 25 Sep 2018 18:52:11 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id o79-v6sm3012466qko.89.2018.09.25.18.52.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 18:52:11 -0700 (PDT) Date: Tue, 25 Sep 2018 22:52:04 -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 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled Message-ID: <20180926015204.GA14952@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