diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-01 19:57:27 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 10:36:56 -0600 |
commit | a8ba569cba1e79f97438c1643ddc08f3ca7bffef (patch) | |
tree | 99aab36f444d11bf6a6bdd5a80de65a2815cfc6b /include | |
parent | 441d0cfff151852120a04acceffcd79195d36336 (diff) |
dm: imx: serial: Support driver model in the MXC serial driver
Add driver model support with this driver. Boards which use this driver
should define platform data in their board files.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/serial_mxc.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/serial_mxc.h b/include/serial_mxc.h new file mode 100644 index 0000000000..7d3ace2f9e --- /dev/null +++ b/include/serial_mxc.h @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2014 Google, Inc + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __serial_mxc_h +#define __serial_mxc_h + +/* Information about a serial port */ +struct mxc_serial_platdata { + struct mxc_uart *reg; /* address of registers in physical memory */ +}; + +#endif |