From patchwork Sun Feb 10 13:06:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yifeng Li X-Patchwork-Id: 10804737 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 D52AD14E1 for ; Sun, 10 Feb 2019 13:06:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9FFE297D8 for ; Sun, 10 Feb 2019 13:06:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AAE2829809; Sun, 10 Feb 2019 13:06:34 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 355BA297D8 for ; Sun, 10 Feb 2019 13:06:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726253AbfBJNGd (ORCPT ); Sun, 10 Feb 2019 08:06:33 -0500 Received: from tomli.me ([153.92.126.73]:56248 "EHLO tomli.me" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726009AbfBJNGd (ORCPT ); Sun, 10 Feb 2019 08:06:33 -0500 Received: from tomli.me (localhost [127.0.0.1]) by tomli.me (OpenSMTPD) with ESMTP id 2761f558; Sun, 10 Feb 2019 13:06:30 +0000 (UTC) X-HELO: localhost.lan Authentication-Results: tomli.me; auth=pass (login) smtp.auth=tomli Received: from Unknown (HELO localhost.lan) (2402:f000:1:1501:200:5efe:7b76:76e8) by tomli.me (qpsmtpd/0.95) with ESMTPSA (DHE-RSA-CHACHA20-POLY1305 encrypted); Sun, 10 Feb 2019 13:06:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tomli.me; h=from:to:cc:subject:date:message-id:mime-version:content-transfer-encoding; s=1490979754; bh=kZOYIC6jF3s0ZZf/9dV0KiDyIPo0GnQP4qPbDmdCvTo=; b=aX6mV49qigumY8V3qL4locVcBs3VfY4si0LyzSk80brVX9puYlw7oYnNSezG4droOYX6wu1yEyIbXJSbBkL7eHoVyKBvJLEcINUVbC4nSq03u2zQAB2G1hsFptZIj1S5qjmw/CmOANHpJfqJ7cVnntwI1u2OdwCI/laCS9X6wJJ7MpdCjqdE3c2wmHzskVUsXvM3G28sdhwtScWiDoztd2gJbNKFF5qfeLJNZIhtD+f439TRlNu0D6uPTV+0QuBdG5UyYMCKnR0vFq5Lqyzb9Spi6oz8fESZ1UlEBxlATIM90Xtswnarb97BAbTwJJYray1Nnuk3bAa7E1nKecGPGQ== From: Yifeng Li To: linux-mips@vger.kernel.org Cc: Jiaxun Yang , Huacai Chen , Ralf Baechle , Paul Burton , James Hogan , Yifeng Li , linux-kernel@vger.kernel.org Subject: [PATCH 0/1] mips: loongson64: move EC header to include/asm/mach-loongson64 Date: Sun, 10 Feb 2019 21:06:16 +0800 Message-Id: <20190210130617.8392-1-tomli@tomli.me> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In order to operate the Embedded Controller from multiple platform drivers, it should be possible to include lemote-2f/ec_kb3310b.h from everywhere. This commits move it from lemote-2f/ec_kb3310b.h to include/asm/mach-loongson64/. This simple patch immediately enables the implementation of two platform drivers. if there's no objection from the maintainers, please consider to prioritize it for mips-next, thanks. Yifeng Li (1): mips: loongson64: move EC header to include/asm/mach-loongson64 .../lemote-2f => include/asm/mach-loongson64}/ec_kb3310b.h | 0 arch/mips/loongson64/lemote-2f/ec_kb3310b.c | 2 +- arch/mips/loongson64/lemote-2f/reset.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename arch/mips/{loongson64/lemote-2f => include/asm/mach-loongson64}/ec_kb3310b.h (100%)