From patchwork Fri Sep 28 01:48:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618843 Return-Path: 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 C6AD71759 for ; Fri, 28 Sep 2018 01:48:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B7D5B2B3F5 for ; Fri, 28 Sep 2018 01:48:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABC3E2B414; Fri, 28 Sep 2018 01:48:48 +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 6151F2B3F5 for ; Fri, 28 Sep 2018 01:48:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728499AbeI1IJ4 (ORCPT ); Fri, 28 Sep 2018 04:09:56 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:36751 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726118AbeI1IJ4 (ORCPT ); Fri, 28 Sep 2018 04:09:56 -0400 Received: by mail-qk1-f196.google.com with SMTP id a85-v6so2923458qkg.3; Thu, 27 Sep 2018 18:48:42 -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=hs/Os8vN3OFq9MhYXzvai9Zxda/zMLh6bwiBNraISalZS6CVFd8vhXBUZGmyIJgUT8 JxnW+j1hk+G2mBMe+UKL4oWMBWv+MZ84aFzltqlJ3SnPDoZcW7E+FcqH1khVTzgoiIPv xS/ZVGkxSvYHmbRJoLfQ5wESaanynBuxxZCgnRqeR1w2q+s6OIyGqgoxgqLpd3XCGdPo M+U5rE1Se5EfIfydu+QLBTOzXNorkVTCG/N04yzH7Yi2zZ+BmjgsPd4mcXkm4K1zmvwJ MCM7YlpD4/PuaU2B20sr+tZEgCveDt6CCdbwhxwUyYRoOQOl20bfXAuFjLQ/Y2U0rAK2 p/Cg== 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=H/822on9nxIRZu0Jv5CBc02MBzryjIlS1+1gAVYjOdWQOPPJk3hFPmYzBG9H5YDQwU qIMwKCZftmYkUFvBW82JU5+mQajF1ou0etWAVFc+XxNOLAd5Jb7aANEjQ2syjcBGAaL8 iWWSc958ZxYBj9ovHyVZgnjl70gKkjrkhiuxqJqaeWgdni86FJLi0nTnXdtwpZm9wGop jENs1KHsTQW2w3g0LDwMs1WXdVCx5irLIvD74qpsQrw9H42nsm0D27nkl5qNLPoZ7jsc wGeL9wvojfNtlwcdF5sVOhVzADWcWksjLr1NW/FffWrcOcvYmLwWcNbzjKFwWkuBP6dT GlJQ== X-Gm-Message-State: ABuFfogBOD0o1oQXWNsAydXXVGGJwk+ITbmyT0ouLna+6ljxHIURHwIT HyICU0KV39rfOLvIe6CYqGaFOKbo X-Google-Smtp-Source: ACcGV603lpVz/o4820HBmGUtKp8uzyqtNxbevgQamUv20sDKfLg9SsMbQCzkxF7pgpZLuFppat1rbg== X-Received: by 2002:a37:8b46:: with SMTP id n67-v6mr6674160qkd.262.1538099321790; Thu, 27 Sep 2018 18:48:41 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id y7-v6sm1931829qkf.38.2018.09.27.18.48.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:48:41 -0700 (PDT) Date: Thu, 27 Sep 2018 22:48:33 -0300 From: Leonardo =?utf-8?b?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: 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 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled Message-ID: <20180928014833.GA10505@WindFlash> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Avoids building driver if 'make drivers/parisc/' is called and CONFIG_PARISC is disabled. Signed-off-by: Leonardo BrĂ¡s --- drivers/parisc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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