From: Jiri Slaby Date: Mon, 5 Mar 2012 13:52:09 +0000 (+0100) Subject: TTY: serial, include pci.h in m32r_sio X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8bc87dc999d57d7d2ab92ab203ff7e94e860d8fa;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git TTY: serial, include pci.h in m32r_sio It uses pointers to pci_dev, but compiler complains it doesn't know it: In file included from .../m32r_sio.c:53: .../m32r_sio.h:21: warning: "struct pci_dev" declared inside parameter list .../m32r_sio.h:21: warning: its scope is only this definition or declaration, which is probably not what you want .../m32r_sio.h:22: warning: "struct pci_dev" declared inside parameter list Signed-off-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/m32r_sio.h b/drivers/tty/serial/m32r_sio.h index e9b7e11793b1..8129824496c6 100644 --- a/drivers/tty/serial/m32r_sio.h +++ b/drivers/tty/serial/m32r_sio.h @@ -15,6 +15,7 @@ * (at your option) any later version. */ +#include struct m32r_sio_probe { struct module *owner;