Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: 8250_dw: Fix the stub for dw8250_probe_acpi()

This fixes the stub for dw8250_probe_acpi() that is used
when compiling without ACPI enabled. The argument type was
wrong.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Heikki Krogerus and committed by
Greg Kroah-Hartman
3ec857ff b88d0826

+1 -1
+1 -1
drivers/tty/serial/8250/8250_dw.c
··· 190 190 return 0; 191 191 } 192 192 #else 193 - static inline int dw8250_probe_acpi(struct uart_port *p) 193 + static inline int dw8250_probe_acpi(struct uart_8250_port *up) 194 194 { 195 195 return -ENODEV; 196 196 }