mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 00:51:44 +00:00
serial: 8250_fsl: Move fsl8250_data to ACPI section
The fsl8250_data structure is only used by ACPI support. Hence move its definition to the driver's ACPI section. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/e406730a5eab880448d6bb55fbce492d281034ef.1631710623.git.geert+renesas@glider.be Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b55c8aa6b1
commit
28f5cb3715
@ -23,10 +23,6 @@
|
||||
|
||||
#include "8250.h"
|
||||
|
||||
struct fsl8250_data {
|
||||
int line;
|
||||
};
|
||||
|
||||
int fsl8250_handle_irq(struct uart_port *port)
|
||||
{
|
||||
unsigned char lsr, orig_lsr;
|
||||
@ -90,6 +86,10 @@ int fsl8250_handle_irq(struct uart_port *port)
|
||||
EXPORT_SYMBOL_GPL(fsl8250_handle_irq);
|
||||
|
||||
#ifdef CONFIG_ACPI
|
||||
struct fsl8250_data {
|
||||
int line;
|
||||
};
|
||||
|
||||
static int fsl8250_acpi_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct fsl8250_data *data;
|
||||
|
Loading…
Reference in New Issue
Block a user