diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-05-14 22:05:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-04 14:07:58 +0200 |
commit | 87d80bfbd577912462061b1a45c0ed9c7fcb872f (patch) | |
tree | be4661651c4f611762f6e713e024342afb459a1a /kernel/smpboot.c | |
parent | b19ab7ee2c4c1ec5f27c18413c3ab63907f7d55c (diff) | |
download | linux-stable-87d80bfbd577912462061b1a45c0ed9c7fcb872f.tar.gz linux-stable-87d80bfbd577912462061b1a45c0ed9c7fcb872f.tar.bz2 linux-stable-87d80bfbd577912462061b1a45c0ed9c7fcb872f.zip |
serial: 8250_dw: Don't use struct dw8250_data outside of 8250_dw
The container of the struct dw8250_port_data is private to the actual
driver. In particular, 8250_lpss and 8250_dw use different data types
that are assigned to the UART port private_data. Hence, it must not
be used outside the specific driver.
Currently the only cpr_val is required by the common code, make it
be available via struct dw8250_port_data.
This fixes the UART breakage on Intel Galileo boards.
Fixes: 593dea000bc1 ("serial: 8250: dw: Allow to use a fallback CPR value if not synthesized")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240514190730.2787071-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/smpboot.c')
0 files changed, 0 insertions, 0 deletions