From patchwork Sun Oct 30 11:42:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 9404471 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 86E1260586 for ; Sun, 30 Oct 2016 11:42:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77F1C28F27 for ; Sun, 30 Oct 2016 11:42:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6CADF28F32; Sun, 30 Oct 2016 11:42:39 +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=-6.9 required=2.0 tests=BAYES_00,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 DDDFB28F27 for ; Sun, 30 Oct 2016 11:42:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752247AbcJ3Lmd (ORCPT ); Sun, 30 Oct 2016 07:42:33 -0400 Received: from mail.skyhub.de ([78.46.96.112]:37260 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751905AbcJ3Lmc (ORCPT ); Sun, 30 Oct 2016 07:42:32 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id E6CM6X0CC253; Sun, 30 Oct 2016 12:42:29 +0100 (CET) Received: from pd.tnic (p200300454B2FD200B51E9851D9711193.dip0.t-ipconnect.de [IPv6:2003:45:4b2f:d200:b51e:9851:d971:1193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 5A06D1DA241; Sun, 30 Oct 2016 12:42:29 +0100 (CET) Received: by pd.tnic (Postfix, from userid 1000) id 5BDE31618C7; Sun, 30 Oct 2016 12:42:28 +0100 (CET) From: Borislav Petkov To: LKML Cc: Andy Henroid , linux-pm@vger.kernel.org Subject: [PATCH] idle/i7300: Add CONFIG_PCI dependency Date: Sun, 30 Oct 2016 12:42:28 +0100 Message-Id: <20161030114228.24114-1-bp@alien8.de> X-Mailer: git-send-email 2.10.0 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Borislav Petkov ... in order to fix this randconfig build warning: drivers/idle/i7300_idle.c: In function ‘i7300_idle_stop’: ./include/asm-generic/bug.h:117:24: warning: ‘got_ctl’ is used uninitialized in this function [-Wuninitialized] int __ret_warn_once = !!(condition); \ ^ drivers/idle/i7300_idle.c:415:5: note: ‘got_ctl’ was declared here u8 got_ctl; ^ Signed-off-by: Borislav Petkov Cc: Andy Henroid Cc: linux-pm@vger.kernel.org --- drivers/idle/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/idle/Kconfig b/drivers/idle/Kconfig index 4732dfc15447..c11ee3e657a6 100644 --- a/drivers/idle/Kconfig +++ b/drivers/idle/Kconfig @@ -18,6 +18,7 @@ config I7300_IDLE_IOAT_CHANNEL config I7300_IDLE tristate "Intel chipset idle memory power saving driver" select I7300_IDLE_IOAT_CHANNEL + depends on CONFIG_PCI help Enable memory power savings when idle with certain Intel server chipsets. The chipset must have I/O AT support, such as the