summaryrefslogtreecommitdiff
path: root/include/ns16550.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-11-20 23:52:34 +0200
committerSimon Glass <sjg@chromium.org>2018-12-05 06:08:35 -0700
commit0af761620f2bb0aac739e1f5c2f5c231bc279599 (patch)
treec128210bf52205b9bbcbb3d5b60e375e0223fafe /include/ns16550.h
parentd5bb4f862b47ad9112132071ad18f9936494e307 (diff)
downloadu-boot-0af761620f2bb0aac739e1f5c2f5c231bc279599.tar.gz
u-boot-0af761620f2bb0aac739e1f5c2f5c231bc279599.tar.bz2
u-boot-0af761620f2bb0aac739e1f5c2f5c231bc279599.zip
serial: ns16550: Group reg_* members of ns16550_platdata
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>
Diffstat (limited to 'include/ns16550.h')
-rw-r--r--include/ns16550.h2
1 files changed, 1 insertions, 1 deletions
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;
};