]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: 8250_dw: Revert "Move definitions to the shared header"
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 14 May 2024 19:05:54 +0000 (22:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 12:07:58 +0000 (14:07 +0200)
commit2c94512055f362dd789e0f87b8566feeddec83c9
tree42bb866daea80fb2dc22050cb6b958d1101968ec
parent87d80bfbd577912462061b1a45c0ed9c7fcb872f
serial: 8250_dw: Revert "Move definitions to the shared header"

This reverts commit d9666dfb314e1ffd6eb9c3c4243fe3e094c047a7.

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.

Fix the mistake made in the past by moving the respective definitions
to the specific driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240514190730.2787071-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c
drivers/tty/serial/8250/8250_dwlib.h