Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1893096imm; Thu, 27 Sep 2018 04:20:24 -0700 (PDT) X-Google-Smtp-Source: ACcGV629vRGD3yjpdgyaAIPqozo4LYpqwbH6fRQvnlVQS8lJ6FQs1W4G4MMHqYW+vZbY2kudQHNc X-Received: by 2002:a63:a362:: with SMTP id v34-v6mr9842913pgn.261.1538047224485; Thu, 27 Sep 2018 04:20:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538047224; cv=none; d=google.com; s=arc-20160816; b=SRU1oioAHWcKVBSbdPuClMN94m1fr/jDRdrqZIxUDu0NRr7wHQxW2n5p4jnvipiq+N UsO/9ey/iUs8VNkk6LDv8AKrlONCLXvjxuPtTI0FZzIhwnAaqwGPfe7ZqGW+owKMrCq+ 03aipvUH0smklAALKyzQjDhbS9+Rpt/V+c1AHHgn3598KmwrPt8Xm00TMtPRa2z++A2h W8ERN1pTWcjI+Xjo/4u8lqpfvnOQAx1uef8dQLSAHFY9K5Pc2vps2v+jVcjuZY9OA8kw 4rBSycfjNj8pwGLezPrHSeQ6E8CLBOmSGuFQc54WmVvbGxCC57A9nUohlpSlP95MXIB4 OqeQ== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature; bh=FIPQZIr/xsGU2+WiZx4etTD1leHQOjXLm/o8Q9VAquU=; b=y5n1ZL6FD/G3dktDLI6OukNOkqjSIklwo66XnWKFZbPvcqFjB1Hkf6ZYC/m8cjM0gW RZjIVcEabZ4CPBtpnNF6iJqT1f6Z+/MfK37YxzJn6VnpyZiDD1IH3nCRTDzWMeGVRNEq kVq5ZszhinjrtQC4QMjFW2Obv45o+1BJWfEvazqmjq9ymD6lxAOwmUDQMCmMvSN9LQ8j XJ7M78NuLL0FcTbx4V/X7H3L9GzVYFp9hvluTa8LhvC8dJikG2Swkw9mYPj7WD/du7SB gw3GTPre2dTXABRXrNicaL/n32uzVwcxYFYsY5Hn3c0O+b3y0EY6Gq8LygwdI8Txw7CD Uekg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="KeLn/ndh"; 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 a143-v6si1847776pfd.241.2018.09.27.04.20.09; Thu, 27 Sep 2018 04:20:24 -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="KeLn/ndh"; 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 S1727404AbeI0RhY (ORCPT + 99 others); Thu, 27 Sep 2018 13:37:24 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:37570 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727149AbeI0RhX (ORCPT ); Thu, 27 Sep 2018 13:37:23 -0400 Received: by mail-ot1-f65.google.com with SMTP id o13-v6so2178501otl.4 for ; Thu, 27 Sep 2018 04:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=FIPQZIr/xsGU2+WiZx4etTD1leHQOjXLm/o8Q9VAquU=; b=KeLn/ndh+m1wFzaT8IB2pCGpkaa2gBM7dBzmne38DmeqxXa/3OraEn++rFxtgNEPUp WLnxa2kBcbqjHPVh6h0HfdIf/ZPybKxzOeFvu0xym2kGdbV8HTZhlNzEVt54bwEWyFQb 66TUOjLBijHSNe+Kk9Cj9p38XI9QvV/g43fA/40yRdN//ddbmATa53UWnfcwtjNVJpXp kBnzLtZUGVQf3Uy7oW8CC4GO/4l2bJmrZM5lXY/tAXlTQeX6GJwE1g5S2MxeJkwYY3qb IwzMqCZjFDYuWPW4rZxBXFb0d2GsbDkCzAXa5QK/VnkaTBPYCR520OkrxFA1vrGNc+bZ wNxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=FIPQZIr/xsGU2+WiZx4etTD1leHQOjXLm/o8Q9VAquU=; b=Oknjv2wY8y1TxAwFTqyqEjk1ANF7bleI3Drev1WqOZbFdPV5MO4xiy2wFVBI5Ox0E1 OFZ+EJbTJJmliJpp+noQ4j1C4IDyo84IDFYEcQFWaV8lDFYjemjhZNSZMQ0gJYS1AmnE 0fEx782sWvthtV5Z/prU1ZhyD2eHri4HRnatnvHKZbZ50H1Po42N+OCYTuRIByDMtICN Y7mGwHtJ2kPk/gJxNkfLDodYsgdxVKN1CYxFIJ8D6H0Tv3UDo2aGO2lCouvkvVknP2z1 Gjpr7BwXIg34plTSWqg5ShYhuWPaJgrUQUUgT4N3t8vVMMW64xjPFsusbNO+PmE81PSZ z5cA== X-Gm-Message-State: ABuFfoitUaLKrTipNm4IehnBHE2eJgf5mtsSSbm8gaXVCz6l9gHtnqCJ 0Gg5EXXuq9v4tykuU/mX0CA/lGc9muZFWexy+1SSrg== X-Received: by 2002:a9d:e4:: with SMTP id 33-v6mr6404872otk.372.1538047176757; Thu, 27 Sep 2018 04:19:36 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:936e:0:0:0:0:0 with HTTP; Thu, 27 Sep 2018 04:19:36 -0700 (PDT) In-Reply-To: <19230260.Wfr244ejmm@daneel.sf-tec.de> References: <20180927013956.GA8956@WindFlash> <19230260.Wfr244ejmm@daneel.sf-tec.de> From: Leonardo Bras Date: Thu, 27 Sep 2018 08:19:36 -0300 Message-ID: Subject: Re: [PATCH v2 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled To: Rolf Eike Beer Cc: linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Rolf, On Thu, Sep 27, 2018 at 3:35 AM, Rolf Eike Beer wro= te: > Am Donnerstag, 27. September 2018, 03:39:56 CEST schrieb Leonardo Br=C3= =A1s: >> Avoids building driver if 'make drivers/dio/' is called and >> CONFIG_DIO is disabled. >> >> Signed-off-by: Leonardo Br=C3=A1s >> --- >> 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 :=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. Thanks, I will fix this for v3.