diff mbox series

[U-Boot,v3,3/7] serial: ns16550: Group reg_* members of ns16550_platdata

Message ID 20181120215238.21551-4-andriy.shevchenko@linux.intel.com
State Accepted
Commit 0af761620f2bb0aac739e1f5c2f5c231bc279599
Delegated to: Simon Glass
Headers show
Series ACPI: Generate SPCR table | expand

Commit Message

Andy Shevchenko Nov. 20, 2018, 9:52 p.m. UTC
Group reg_* members of struct ns16550_platdata together for better maintenance.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/ns16550.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass Dec. 5, 2018, 12:55 p.m. UTC | #1
On Tue, 20 Nov 2018 at 14:52, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> Group reg_* members of struct ns16550_platdata together for better maintenance.
>
> No functional change intended.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  include/ns16550.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Simon Glass Dec. 5, 2018, 11:11 p.m. UTC | #2
On Tue, 20 Nov 2018 at 14:52, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> Group reg_* members of struct ns16550_platdata together for better maintenance.
>
> No functional change intended.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  include/ns16550.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm/master, thanks!
diff mbox series

Patch

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;
 };