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

Andy Shevchenko andriy.shevchenko at linux.intel.com
Tue Nov 20 21:52:34 UTC 2018


Group reg_* members of struct ns16550_platdata together for better maintenance.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
---
 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;
 };
 
-- 
2.19.1



More information about the U-Boot mailing list