Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp197092imm; Thu, 27 Sep 2018 19:09:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV61/U28Cf5bgcgvpA1GqtgApctN6vjPJZ5dee0JW/PO8cijflnLHqjdzaq8CRoFhqvaTh37Q X-Received: by 2002:a17:902:2804:: with SMTP id e4-v6mr13416678plb.327.1538100550376; Thu, 27 Sep 2018 19:09:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538100550; cv=none; d=google.com; s=arc-20160816; b=iIlx3vVyExUDfr4WDEbxWQ/lIrYacYsx/UkvpiZdPV7oynPbXd/BCylEHYzn3pnSqM l/KRVuhKV+/pdu85Sw6ZFk9MkbU4uxy63WT/WsPxYJ1fV9mESldokRjxL8j2gfdsNQTh Kl4/2zKZPmmkjGi6AX8RAqLcDziX9RL2qIW/pWscUve65WokATfzwHHEQpIbYlEcvlER B28r4inmZBdcnh+UkkcLVsEX2PH0CGeOBh4hPtnDxrq78kgz+J79tyxibdG4w/vK9fIC fQl6gH9bV1EbvrWPzPI/pQepFGSlCReCwFhw1P8/oPkGybxNDQ43C/5A7A7c4NK/5Cbp q5cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=X4z7jPf+dvuu42+tYZqKX430fxhW5Xfzad8xEo8VLqg=; b=XuJfa6k2cC2LCgjNvz98t4YDpoHxwCpTdDmkrZHS5p0T5IuIdXdUauy5VHu2v+MdVK Rky3RKFvFHu2lmuZZks4KotoDQI2QKNl/jyem99hMZlKMqjHNoBvCdWzTUHWoZJOtY8T JnFn8cW5wZCW6MaGpb7HYsGnAB8adz0Px/D01qgGBpFsejcZFQeV756Tj7bxmDztM2L8 i3JcJ3aHT13Yj7s0bXXiCk9BEKtqXU0fa8fmEl7qMiWRYB6UXREGGvK9WQJM+XwxtDAo ScXbtD/FslJ3F8n6M/mYAs1UnGpVdvLn/IGPTpqn8wg+w5F/GDyElw/QwGL0TLJfzCxb tWZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NaRv+wOa; 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 x1-v6si3603650pgo.144.2018.09.27.19.08.54; Thu, 27 Sep 2018 19:09:10 -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=NaRv+wOa; 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 S1728817AbeI1IaC (ORCPT + 99 others); Fri, 28 Sep 2018 04:30:02 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:35360 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728754AbeI1IaC (ORCPT ); Fri, 28 Sep 2018 04:30:02 -0400 Received: by mail-qk1-f193.google.com with SMTP id a189-v6so2948167qkb.2; Thu, 27 Sep 2018 19:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X4z7jPf+dvuu42+tYZqKX430fxhW5Xfzad8xEo8VLqg=; b=NaRv+wOampHpKQs9p+jTUC+GToyyQunFlt6ozkOJodovVjoeac/l7hkX/BRMv9QgH6 RFDnLP+XRkufbkbEDgXUp4gGK2USZ2czpszE5RgajgbV/EYgKOoOuNnS4QffGcE8xTsG eQbxK6m4VxZv88uxP16vhn2gDmrm0CrkEkX6SblRQb0cXAMB0r2cke58PksUgYMXNZNN 7vT8zqGqxXWevGhBOdakiiVrkJKOEhDehE31/+1MGZJbv3/NlWfXPzFjvcUv9MFDV88s bbwocghtGYrPNL2Cq4lzjbHqUFzzU1xQVbZbif6aZt4rYxy4+uCMuTcNmq5hWc1AeCls 1qlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=X4z7jPf+dvuu42+tYZqKX430fxhW5Xfzad8xEo8VLqg=; b=njk2o4u1ddGS3CeRmKGB3D9kbK2lvvTWbVOdxbOzaOAVqEmClKmfy88bGVtjLuSdYO u+cxJH2pviNBrsmeubIZ/raHApNEk1WN1X6X8xBiSu4uPiFTegGfo3nsjWPINfL9oIak l/zNnP6Yhf0F0WiPpwNGsD7EyWShjy1vDRJxSzykW0AtbqsdTt0fnlLLcI6t7rfckhHU oDekpT8CJLBOsWqGbIoO1JRmQwdFyzWffgXr4TAB+mdYH6zO5MtDLWVlu3589hRgIks8 o9+CDOeFHJ8jE3dRaKvDCRW1jymokbHWk0YF6QENXv/wOb7hlfdy6RhjyFdjAyFkOsAM bS4g== X-Gm-Message-State: ABuFfojcKgPHlbkXJNugJDENdwu3u7wFNCDkhynOxtLHqL64z/ISjQpW tIXI/XKD8zL60JSABwOzYqs= X-Received: by 2002:a37:411:: with SMTP id 17-v6mr3876805qke.68.1538100520497; Thu, 27 Sep 2018 19:08:40 -0700 (PDT) Received: from localhost.localdomain ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id y138-v6sm731191qka.36.2018.09.27.19.08.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 19:08:39 -0700 (PDT) From: =?UTF-8?q?Leonardo=20Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?UTF-8?q?Leonardo=20Br=C3=A1s?= , 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 Date: Thu, 27 Sep 2018 23:08:10 -0300 Message-Id: <20180928020816.11251-2-leobras.c@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180928020816.11251-1-leobras.c@gmail.com> References: <20180928020816.11251-1-leobras.c@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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