serial: ns16550: Group reg_* members of ns16550_platdata
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 20 Nov 2018 21:52:34 +0000 (23:52 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:08:35 +0000 (06:08 -0700)
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>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/ns16550.h

index 5fcbcd2e74e3a2965eda64905416f1f2b792d4bc..f565645d65be5c17caeed3a5879a0bde6df40dfc 100644 (file)
@@ -55,8 +55,8 @@
 struct ns16550_platdata {
        unsigned long base;
        int reg_shift;
-       int clock;
        int reg_offset;
+       int clock;
        u32 fcr;
 };