From patchwork Mon Apr 16 14:22:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10343043 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 8FD1A601D7 for ; Mon, 16 Apr 2018 14:23:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80983274D2 for ; Mon, 16 Apr 2018 14:23:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74D482879A; Mon, 16 Apr 2018 14:23:23 +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=-7.9 required=2.0 tests=BAYES_00, 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 E1F31274D2 for ; Mon, 16 Apr 2018 14:23:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755411AbeDPOXV (ORCPT ); Mon, 16 Apr 2018 10:23:21 -0400 Received: from mail.bootlin.com ([62.4.15.54]:55821 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751270AbeDPOXT (ORCPT ); Mon, 16 Apr 2018 10:23:19 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 390FD20DC8; Mon, 16 Apr 2018 16:23:18 +0200 (CEST) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 0D4C120784; Mon, 16 Apr 2018 16:23:08 +0200 (CEST) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard , ulf.hansson@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, Quentin Schulz , Thomas Petazzoni Subject: [PATCH v3 1/7] mmc: sunxi: Reorder the headers Date: Mon, 16 Apr 2018 16:22:59 +0200 Message-Id: <36d1fdc06b6e1a9baa8a369774a2100ba192cf89.1523888566.git-series.maxime.ripard@bootlin.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Our headers sort algorithm has had pretty chaotic results. Let's fix that. Signed-off-by: Maxime Ripard --- drivers/mmc/host/sunxi-mmc.c | 43 +++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c index 20cfb20418f3..91feed8045fd 100644 --- a/drivers/mmc/host/sunxi-mmc.c +++ b/drivers/mmc/host/sunxi-mmc.c @@ -13,36 +13,33 @@ * the License, or (at your option) any later version. */ -#include -#include -#include -#include -#include -#include -#include - #include #include -#include -#include -#include -#include +#include +#include #include -#include -#include -#include - -#include -#include -#include - +#include +#include +#include +#include +#include +#include +#include #include +#include #include #include -#include -#include -#include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include /* register offset definitions */ #define SDXC_REG_GCTRL (0x00) /* SMC Global Control Register */