Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp197318imm; Thu, 27 Sep 2018 19:09:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV60gpU//F6vGfzDAEYArmv2Qsxn3hmNnQdGgT0xY5Se2b052h5v0x9ZAn0BXJSD58Sbp9n5L X-Received: by 2002:a63:2605:: with SMTP id m5-v6mr12252269pgm.225.1538100572173; Thu, 27 Sep 2018 19:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538100572; cv=none; d=google.com; s=arc-20160816; b=dHTZ9fuGxTFC51pOXCG2eIc1cgAk2Q998RcLt3cwdFnkH9WIf2V1ule72eMKmb+wQP Vp3NKAhxqdpVSahJwAqr2ah2wVkCm+6zv7s8cXBr9Lqbhf1TUKiuQO/DOGRXrV1Pl14C 854hkkjisZT/A4y9WXagvPu6AZVO6nShVW4GOiIaX9gvjY2YKNtY/Osls7H6z85yDkWH IO2weSB047Yjc3mYOZew5lz78U8jFliQjsAjY+p10ek8mGkQU+ZQ98bmNy+2NR+7YX9E Yd5fhUGFXw7oflQ2tM3HLey9XiAEesg3xROD+C2Dgea6Jgnq42+x9q6CZCjG52m09K4B Dm4Q== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ml1FFJEZov3NZzRMfIOgz+x2FcVyTrOzctjRuk6MfEU=; b=MlUs4sKFigsg5Ra2A/ABf+YARf/7ozFqaE8oNowfRcLqfbAIaZXbne992meDbDNDwN RamvTPW21xlj3inEBmseVrhXXU+Qoy1ijWCLsU9MRHYBe8+9xSZk0u+Ol9UUkh/OmTW7 E0056ThbT6D7F1Ia8aF0VcEe6/htHIzb9hCgPT9UHkkPIaNdjIMy4SO+7aX/1qj6yI5v Nb0nMC9lOx3uUdDxBhQZbiBsAlPKV3uEtyPfNEC4kG5PhsPpfDewm+aZNi6N8czfCKYF pxtuAD6OHLZG2mshE6WTU03Y6rVXT4EgYsXy+9oNTS1RCLvRsyLYzdc0+i9aVEzHEoqY D+cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Xxe4wfc1; 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 129-v6si3534812pgj.283.2018.09.27.19.09.15; Thu, 27 Sep 2018 19:09:32 -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=Xxe4wfc1; 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 S1728877AbeI1IaO (ORCPT + 99 others); Fri, 28 Sep 2018 04:30:14 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:40159 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728720AbeI1IaO (ORCPT ); Fri, 28 Sep 2018 04:30:14 -0400 Received: by mail-qk1-f193.google.com with SMTP id c126-v6so2925735qkd.7; Thu, 27 Sep 2018 19:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ml1FFJEZov3NZzRMfIOgz+x2FcVyTrOzctjRuk6MfEU=; b=Xxe4wfc1pjms+V4Wh7sSOGixTWY62Hc5ILFnE6egN4xy1B34Nv9AZ0se50Qy1yN5T2 Ra9Fu+mEJY51Ttq2Hq4g3fIEA7V9KWuJg6BoBppVgL45RihcNCIl0toX/DWeWkEPr7I4 VRo13ugKRs2JNN+TNE1uwOTpRsY2qvdTqUzLgG8VJghg8kIThDOOS6zhJsiOJjNWa5// mo5XC+wPKRllMDPbj8L3SgZENVvA3VmKk8wlnKqogFVvVwqvrdkUU0n+QzNykd85fDWV /jyfZ5TGOehX9RdUBCeG27LEyMCKH9sQIE6Q0fHITe17vWcvAOy7EyBTiXRAttR04c0v 7F4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ml1FFJEZov3NZzRMfIOgz+x2FcVyTrOzctjRuk6MfEU=; b=JnJ/axVEYdI3sZgARQqpOCwHui62oNOx0rSBd9gDhP5SJL5HgqsJoit0C/KNZnNm/Y iG6SXGFb3uviPvQ1vQwdyWysD2wWjAlX29ucIbQB4fagmL2U3Juxm0lz2gzcNSd1kWBH 7wmoWvLTFYRt49ontvYcgu1RD1VHHuAH1GdONp46vNM0UNIA2Yyyz+yyGLFNGRQk4jnQ on7MtbcKijEKcd4ekEa6kYinquLs467R0oRAWAS/XH/fYedoJP5K3fD5c3Q/Z6+QivF0 a/+IiS5gpUUAaj0MTTYEaAiDlDtb+GZJRpl4el573zGZNYXohYB3IZWFsDeQ9k0r9Ldw O9JQ== X-Gm-Message-State: ABuFfogeW1/ll7boGn6PBMEW/azqFz7efeOP0ttZbLOl6AsNwkAgaftc coo5EjZI433vJ8mCBB8TmKk= X-Received: by 2002:a37:b101:: with SMTP id a1-v6mr10144828qkf.222.1538100532874; Thu, 27 Sep 2018 19:08:52 -0700 (PDT) Received: from localhost.localdomain ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id y138-v6sm731191qka.36.2018.09.27.19.08.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 19:08:52 -0700 (PDT) From: =?UTF-8?q?Leonardo=20Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?UTF-8?q?Leonardo=20Br=C3=A1s?= , 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 Date: Thu, 27 Sep 2018 23:08:12 -0300 Message-Id: <20180928020816.11251-4-leobras.c@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180928020816.11251-1-leobras.c@gmail.com> References: <20180928020816.11251-1-leobras.c@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.19.0