From patchwork Tue Nov 20 21:52:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 1000749 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42zzxJ1GqRz9s3q for ; Wed, 21 Nov 2018 08:53:56 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id D7226C221BD; Tue, 20 Nov 2018 21:53:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 2D629C2214E; Tue, 20 Nov 2018 21:52:47 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8A136C21ECC; Tue, 20 Nov 2018 21:52:45 +0000 (UTC) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lists.denx.de (Postfix) with ESMTPS id C3F5BC21FCE for ; Tue, 20 Nov 2018 21:52:44 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Nov 2018 13:52:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,258,1539673200"; d="scan'208";a="281635906" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga005.fm.intel.com with ESMTP; 20 Nov 2018 13:52:40 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id AD0CD973; Tue, 20 Nov 2018 23:52:39 +0200 (EET) From: Andy Shevchenko To: Simon Glass , Bin Meng , Lokesh Vutla , Alexander Graf , Christophe Leroy , u-boot@lists.denx.de, Patrice Chotard Date: Tue, 20 Nov 2018 23:52:34 +0200 Message-Id: <20181120215238.21551-4-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181120215238.21551-1-andriy.shevchenko@linux.intel.com> References: <20181120215238.21551-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Cc: Andy Shevchenko Subject: [U-Boot] [PATCH v3 3/7] serial: ns16550: Group reg_* members of ns16550_platdata X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Group reg_* members of struct ns16550_platdata together for better maintenance. No functional change intended. Signed-off-by: Andy Shevchenko Reviewed-by: Simon Glass Reviewed-by: Simon Glass --- include/ns16550.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ns16550.h b/include/ns16550.h index 5fcbcd2e74..f565645d65 100644 --- a/include/ns16550.h +++ b/include/ns16550.h @@ -55,8 +55,8 @@ struct ns16550_platdata { unsigned long base; int reg_shift; - int clock; int reg_offset; + int clock; u32 fcr; };