From patchwork Tue Oct 8 10:46:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11179361 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0D6F01709 for ; Tue, 8 Oct 2019 10:46:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DCF8520673 for ; Tue, 8 Oct 2019 10:46:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730016AbfJHKqv (ORCPT ); Tue, 8 Oct 2019 06:46:51 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:50232 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730008AbfJHKqv (ORCPT ); Tue, 8 Oct 2019 06:46:51 -0400 Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iHn0y-0005tQ-Lm; Tue, 08 Oct 2019 11:46:48 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iHn0x-00032n-V1; Tue, 08 Oct 2019 11:46:47 +0100 From: Ben Dooks To: linux-kernel@vger.kernel.org Cc: linux-kernel@lists.codethink.co.uk, linux-pm@vger.kernel.org, "Rafael J . Wysocki" , Len Brown , Pavel Machek , Ben Dooks Subject: [PATCH] PM: sleep: include for pm_wq Date: Tue, 8 Oct 2019 11:46:46 +0100 Message-Id: <20191008104646.11658-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Include the for the definition of pm_wq to avoid the following warning: kernel/power/main.c:890:25: warning: symbol 'pm_wq' was not declared. Should it be static? Signed-off-by: Ben Dooks --- kernel/power/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/power/main.c b/kernel/power/main.c index e8710d179b35..e26de7af520b 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "power.h"