Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp60192imm; Thu, 20 Sep 2018 18:16:09 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYobxveal92OL+hLcYG4+0rNoGltE07c4ijdAKaqjdtYe9s/Y80tF3RXXsncWuVwPlkv9qA X-Received: by 2002:a17:902:6b89:: with SMTP id p9-v6mr41395132plk.272.1537492569500; Thu, 20 Sep 2018 18:16:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537492569; cv=none; d=google.com; s=arc-20160816; b=JFFo6JUQR8QRgZA83L9Hmw+XWBSnvHk3axZe8JuORIs4ut4FYYuo+TcTrdFQUMWYNj y6mmZwqE/keZrKUZtHX6MAyUttDytcBUtELNWQ4bS8KtBM2+1sO1zjyvAHfCBg1eAuhu GhGB6/XIruTQIZA/I4x++yAE/uPB6qZOM4W3IIqMzAl6f3523Oynhd/O0EBQ2yn7sQwX rGs+Fcm+GtJI15jmDqbEDxuJhN8qXtajrRlzHqCQnDGrLtvhC/YAaxrnDQ4ZtJ9x3dwQ VqTLoI9NjafQclbnBvPD1TAJenQpVns3b2T2L5BytLIzacm6SMSZ1UlzB+COAsfAyf29 1MyA== 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=GqW3VCeNW8NbczlJi2Z4ja1EtL4L5eSPgRPWBGo7TN0=; b=oL2/hwUSxbywtWYtKKzuj5S7Ft9NQoGeRlvSBODLuSxqjHHw54gkpBTR9huYmNOW+O cdbFQ5zh3HHfcZD53dv5Mty+DoyRh5Hb7l2Y6lAWCOCtcja1cejK/wPVjx+5A17vPF2M qrRVisZ9NaKk+qr3+QPlVOeJfuj0A2HrTXgBwx66RM70v2umognW88NlJyltuDND7lKd 8DV0j325GX0vLL0xRRiyJM3DVjdKYGt012MxcMPIm48nU3Wn5Bc5rP7JdYgRoJN0dqV1 xh9kpiAnPgcZOLdPUCXzFMVm8nOUo7Davn+ZUYkQtvUWYLHmyEKbt8+tnM6E0Crx/THu BQqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VQHYm1pd; 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 i18-v6si11280662pfk.65.2018.09.20.18.15.53; Thu, 20 Sep 2018 18:16:09 -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=VQHYm1pd; 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 S2388672AbeIUHA2 (ORCPT + 99 others); Fri, 21 Sep 2018 03:00:28 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:35502 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbeIUHA2 (ORCPT ); Fri, 21 Sep 2018 03:00:28 -0400 Received: by mail-qk1-f196.google.com with SMTP id f62-v6so7320701qke.2 for ; Thu, 20 Sep 2018 18:14:11 -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=GqW3VCeNW8NbczlJi2Z4ja1EtL4L5eSPgRPWBGo7TN0=; b=VQHYm1pd0L7ZH2Bqv50tIE4PXeKP5hXYF04KFV3HEgUaEMvkyCfnxk8CjNjbHs37C2 NUWgC0HgBvCMMEEi3RNumGv0hkRr5MqhPNeev6xA3V/4gVXSJps4emOf3PNNnrBvMpEW EFpYP/kgG0O5ZRcruvFTwR3C+X1FjoSbOCqvQa7uLv41I96XL0G4iMAE+QHI2BzRoIHs O38ojdDUHq7NmG2apMSgWKtXOw6rAXpneDXPK0RrfvAezGh7lakORPIsm5v/eFAH1VNy 046zKSCtaE3y4EQWXJQNcJL8FK4Ql3OXxlnu6VLhtijM8hKr+057z80+pwHSSLezndeT Nw4A== 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=GqW3VCeNW8NbczlJi2Z4ja1EtL4L5eSPgRPWBGo7TN0=; b=N7n8uL7gidpE2v8vYZ0KiN7GwAK2NhAbE1aXgdWWwqYIByeGx1aIZhzM4DaZ5ZqIwW PdkxwHBQOuY5LvwP5lDpAWpqlhFM4oWl4sDghLr6pWIG810eAP8IO+0QK5L4q0E3wJie f/xR3d3e1xlVQ2x0jKNwlK08qdqZ42Ao5/ISIvR/M2ohllpBsc9YG34EtHh6RPOSXFcG QlFIJD4menGtjj2Y4azZUfukUsXfnvgnNzJCIB3T+AJDB6QklHtzqNLgZUTJnYK3uw9O ptxi5UVgSslJQ/XXKqXo8AyFudKZCTckdA8Qizl5QyLoOGL3FfTAY0n1GZAW0vGixSdR s+Nw== X-Gm-Message-State: APzg51DnyrNNDmwRAks4l39CYN0boDoq8p7088B798maCkTP/ekb/iJK QP5u0wMRtfQpV/Uc1GqZOfHx6+gg X-Received: by 2002:a37:98c3:: with SMTP id a186-v6mr21483798qke.128.1537492450595; Thu, 20 Sep 2018 18:14:10 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id o23-v6sm17162528qtb.23.2018.09.20.18.14.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Sep 2018 18:14:09 -0700 (PDT) Date: Thu, 20 Sep 2018 22:14:05 -0300 From: Leonardo =?utf-8?B?QnLDoXM=?= To: Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/1] drivers/dio : Changes Makefile to avoid acciental compilation. Message-ID: <20180921011405.GA18848@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 Changes Makefile so 'make drivers/dio/' won't compile this driver unless CONFIG_DIO is enabled. Previously, it would compile independently of .config file. 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