From patchwork Fri Jul 10 14:09:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaro Koskinen X-Patchwork-Id: 6766261 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 27B87C05AC for ; Fri, 10 Jul 2015 14:17:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 10BEE206A5 for ; Fri, 10 Jul 2015 14:17:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7DEAD20681 for ; Fri, 10 Jul 2015 14:17:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932229AbbGJORj (ORCPT ); Fri, 10 Jul 2015 10:17:39 -0400 Received: from emh07.mail.saunalahti.fi ([62.142.5.117]:50564 "EHLO emh07.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754416AbbGJORj (ORCPT ); Fri, 10 Jul 2015 10:17:39 -0400 X-Greylist: delayed 475 seconds by postgrey-1.27 at vger.kernel.org; Fri, 10 Jul 2015 10:17:38 EDT Received: from localhost.localdomain (a88-112-126-99.elisa-laajakaista.fi [88.112.126.99]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 0747C4043; Fri, 10 Jul 2015 17:09:41 +0300 (EEST) From: Aaro Koskinen To: Ralf Baechle , Huacai Chen , linux-mips@linux-mips.org Cc: "Rafael J. Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org, Aaro Koskinen Subject: [PATCH] MIPS: Loongson 2F: fix broken build due incorrect includes Date: Fri, 10 Jul 2015 17:09:37 +0300 Message-Id: <1436537377-7138-1-git-send-email-aaro.koskinen@iki.fi> X-Mailer: git-send-email 2.4.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit 30ad29bb4888 ("MIPS: Loongson: Naming style cleanup and rework") renamed mach-loongson to mach-loongson64. Some files are including loongson.h using the asm/mach-loongson directory name, so the build got broken. Fix by removing the directory name; the mach directory is automatically in the include path. Signed-off-by: Aaro Koskinen Acked-by: Viresh Kumar --- arch/mips/loongson64/lemote-2f/clock.c | 2 +- drivers/cpufreq/loongson2_cpufreq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/loongson64/lemote-2f/clock.c b/arch/mips/loongson64/lemote-2f/clock.c index 462e34d..d241434 100644 --- a/arch/mips/loongson64/lemote-2f/clock.c +++ b/arch/mips/loongson64/lemote-2f/clock.c @@ -15,7 +15,7 @@ #include #include -#include +#include static LIST_HEAD(clock_list); static DEFINE_SPINLOCK(clock_lock); diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c index fc897ba..2e2738b 100644 --- a/drivers/cpufreq/loongson2_cpufreq.c +++ b/drivers/cpufreq/loongson2_cpufreq.c @@ -20,7 +20,7 @@ #include #include -#include +#include static uint nowait;