Message ID | 20180926015229.GA14967@WindFlash (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-parisc-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 14F11913 for <patchwork-linux-parisc@patchwork.kernel.org>; Wed, 26 Sep 2018 01:52:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04E772A937 for <patchwork-linux-parisc@patchwork.kernel.org>; Wed, 26 Sep 2018 01:52:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED9F82AB50; Wed, 26 Sep 2018 01:52:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A20892A937 for <patchwork-linux-parisc@patchwork.kernel.org>; Wed, 26 Sep 2018 01:52:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727379AbeIZIDC (ORCPT <rfc822;patchwork-linux-parisc@patchwork.kernel.org>); Wed, 26 Sep 2018 04:03:02 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:36731 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbeIZIDB (ORCPT <rfc822;linux-parisc@vger.kernel.org>); Wed, 26 Sep 2018 04:03:01 -0400 Received: by mail-qt1-f196.google.com with SMTP id e26-v6so3473968qtq.3; Tue, 25 Sep 2018 18:52:38 -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=Ml1FFJEZov3NZzRMfIOgz+x2FcVyTrOzctjRuk6MfEU=; b=Dmhpj/2lW0bjrKhvWrcqZCGz0PJ9R6TwZR+qrE8GZsiRUlnAebtJuen3GXKVB9tJRt qLg6dFqNsrKU5BIq4jpFRQIaeWiluWCsOm1+yqU5OVRLnmZQRPiUscxYOEyTIDMggJRF 3hJI3pSvsyPTuoCqUEmMz0CG7Nne4ZKyAA1IHRUEBkwnrwtxJkAZTTffDN2bQwvZjSs+ f2aKUWplpwFdWENlbBBiED5NHnI3y5K8sS7AQzrK0NjTFDc8BoJYFy32OhAjOT8BS0FP z1IL44uo6v60LdwujOJEp/Io7rjj0TW9iKb5UfNH8uDI4cKESkHTNx/hKSVhYNqZ96Xj fHjg== 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=Ml1FFJEZov3NZzRMfIOgz+x2FcVyTrOzctjRuk6MfEU=; b=Gw+ELitfMEn/3KKakoSaXWC2WtGXLscSbom7cRwAOPvBtiCaEPnW3gtFzgtmrZHA+j fGMEwnV5NQC4WCdaBrF5KDRTCOF/RKx4X5urNdz0EQi5Ejli4fpPwS2Vg8RiAMGnN+dO E3YKtyDopyrp88RMVod0hnY5/zsNTbGS02cF/4b8+kOdD89PBZrRaJr0yA+Bd3b5Illh uI9FrnQhFb36l6Aefag8VQfkjtPtiiCaBVNTbFDqt0KxXMl6GhjkjIQFcNwijc9Y335x PsLK8OZj+0CI7fhzPsKR+xc0B0t0XIl1CZFbZJ/fWNV8M8Adv12QHmV2yqKD850q6oNN tgng== X-Gm-Message-State: ABuFfogQ3emrarrD1+sUDOXatxKLGLT7SKwah2Rg9Aci5whDLiVf/Dxh u0NkA9IVjhz46x48u7nQJyI= X-Google-Smtp-Source: ACcGV60FmmK55WhK5+LX8SYxaBUTEEF64A+qTfE3IMhoH69gsRriKk/Zp4fYlCQoS591DXs5dEpVcg== X-Received: by 2002:ac8:46d3:: with SMTP id h19-v6mr2923762qto.188.1537926758264; Tue, 25 Sep 2018 18:52:38 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id i32-v6sm2490215qtb.21.2018.09.25.18.52.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 18:52:37 -0700 (PDT) Date: Tue, 25 Sep 2018 22:52:29 -0300 From: Leonardo =?utf-8?b?QnLDoXM=?= <leobras.c@gmail.com> To: lkcamp@lists.libreplanetbr.org Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>, Finn Thain <fthain@telegraphics.com.au>, Robert Richter <rric@kernel.org>, "James E.J. Bottomley" <jejb@parisc-linux.org>, Helge Deller <deller@gmx.de>, Martin Schwidefsky <schwidefsky@de.ibm.com>, Heiko Carstens <heiko.carstens@de.ibm.com>, Geert Uytterhoeven <geert@linux-m68k.org>, 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 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled Message-ID: <20180926015229.GA14967@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-parisc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-parisc.vger.kernel.org> X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Remove errors building drivers/DRIVERNAME
|
expand
|
diff --git a/drivers/parisc/Makefile b/drivers/parisc/Makefile index 3cd5e6cb8478..80049d763aa0 100644 --- a/drivers/parisc/Makefile +++ b/drivers/parisc/Makefile @@ -24,5 +24,5 @@ obj-$(CONFIG_EISA) += eisa.o eisa_enumerator.o eisa_eeprom.o obj-$(CONFIG_SUPERIO) += superio.o obj-$(CONFIG_CHASSIS_LCD_LED) += led.o obj-$(CONFIG_PDC_STABLE) += pdc_stable.o -obj-y += power.o +obj-$(CONFIG_PARISC) += power.o
Avoids building driver if 'make drivers/parisc/' is called and CONFIG_PARISC is disabled. Signed-off-by: Leonardo BrĂ¡s <leobras.c@gmail.com> --- drivers/parisc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)