Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1644351imm; Wed, 26 Sep 2018 23:37:53 -0700 (PDT) X-Google-Smtp-Source: ACcGV61I1I1yX7amKtqp/cFRl7XGWYRalYJot8PvP8YNJ9EwPNnVRid6BxRJNrfCZqunewzFuW2/ X-Received: by 2002:a63:7156:: with SMTP id b22-v6mr8561202pgn.342.1538030273470; Wed, 26 Sep 2018 23:37:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538030273; cv=none; d=google.com; s=arc-20160816; b=SODzuE7rbYYae6pnsAQSi8YBIqIZJc0uG64ihkDqgqHSdlbImvNUWn7tzt4V3ljrS2 gdxrqLWoTMeGZMKsS48yqo2X0i99gb5To+oBqgv+pevJza36Trm16uzMeH3V2gFJSkx4 esIapAV/xHXwmx6PnKHEzVxjbqVzUd+Y8UF1SBLqKGNxiZIlvI8DASRIaG2bWL4hwM/O 9PP4M6BHW2ddHF3KG2pevG0t4ZMiGT4iNmqvIxCzGRsmiHoAFkH+JCI6Bpz8fBkbJZI0 nf2uJ7R/swhzBx9wXyk6KN+H1qzEiBp+1jri7nmOEQ2aHzUvTQ7Bz+0D3IJzhp1MVoSP 0QTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=kHKhTeTGswZqJxUvnC8ZsaLLC7pqDOdu8k1l1U8Ozgc=; b=tLEXRFowJQv4OF+VGYJo6NbF9crL2XjcUPG1SeRclvMEHV6Okh1vNQzwDcvp8cwYwK p/lqqpmyCLs+wAMCvAYI/HljP9iKILIuGg1GF2LOEfsLoFs1LBZENUHTpaIPaISfbqua 3LuH9gmewOd9hpJ7aOXZOZ66KcMf8F5mSVaZYRNZ1dYiY9hz1kN8u3uwYOTwOIgXGUCx lMU2Q0ObHHc4RsmIsKkpPq/HNRMbPsszyXOjxf08+kyxlMmPrZsj/4l9Czue0fNDoOd6 aCJbD9oF5St1q1z3VCOMpiTW4lgdjgBVZmtZLIIOhQ88v/JrSQ4CYfinF8nuSAAhhlWd GlJg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si1115622plk.300.2018.09.26.23.37.33; Wed, 26 Sep 2018 23:37:53 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727154AbeI0Mwf (ORCPT + 99 others); Thu, 27 Sep 2018 08:52:35 -0400 Received: from mail.sf-mail.de ([78.47.74.12]:44873 "EHLO mail.sf-mail.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726698AbeI0Mwe (ORCPT ); Thu, 27 Sep 2018 08:52:34 -0400 Received: (qmail 22455 invoked from network); 27 Sep 2018 06:35:54 -0000 Received: from dslb-092-076-190-100.092.076.pools.vodafone-ip.de ([::ffff:92.76.190.100]:54444 HELO daneel.sf-tec.de) (auth=eike@sf-mail.de) by mail.sf-mail.de (Qsmtpd 0.34dev) with (DHE-RSA-AES256-GCM-SHA384 encrypted) ESMTPSA for ; Thu, 27 Sep 2018 08:35:54 +0200 From: Rolf Eike Beer To: Leonardo =?ISO-8859-1?Q?Br=E1s?= Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled Date: Thu, 27 Sep 2018 08:35:54 +0200 Message-ID: <19230260.Wfr244ejmm@daneel.sf-tec.de> In-Reply-To: <20180927013956.GA8956@WindFlash> References: <20180927013956.GA8956@WindFlash> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2874343.h6rZ4p9Wyb"; micalg="pgp-sha1"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart2874343.h6rZ4p9Wyb Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Am Donnerstag, 27. September 2018, 03:39:56 CEST schrieb Leonardo Br=E1s: > Avoids building driver if 'make drivers/dio/' is called and > CONFIG_DIO is disabled. >=20 > Signed-off-by: Leonardo Br=E1s > --- > drivers/dio/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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. > # >=20 > -obj-y :=3D dio.o dio-driver.o dio-sysfs.o > +obj-$(CONFIG_DIO) :=3D dio.o dio-driver.o dio-sysfs.o > \ No newline at end of file ^^^^^^^^^^^^^^^^^^ One more. --nextPart2874343.h6rZ4p9Wyb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSaYVDeqwKa3fTXNeNcpIk+abn8TgUCW6x6SgAKCRBcpIk+abn8 TkahAJwKarDg3CDT4sM9d64jx+MUb/CPwQCeKtSFvnXRT44vpaXJMMJi2lw5G0s= =iknn -----END PGP SIGNATURE----- --nextPart2874343.h6rZ4p9Wyb--