aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/m32r_sio.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-03-05 08:52:09 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 14:47:02 -0500
commit8bc87dc999d57d7d2ab92ab203ff7e94e860d8fa (patch)
treecfd9544ce153d2556c4c7d2129f88f57ef2b6c48 /drivers/tty/serial/m32r_sio.h
parent4da2405606d47ca767e0c6ba556f127cfa2181d0 (diff)
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 <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/m32r_sio.h')
-rw-r--r--drivers/tty/serial/m32r_sio.h1
1 files changed, 1 insertions, 0 deletions
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 @@
15 * (at your option) any later version. 15 * (at your option) any later version.
16 */ 16 */
17 17
18#include <linux/pci.h>
18 19
19struct m32r_sio_probe { 20struct m32r_sio_probe {
20 struct module *owner; 21 struct module *owner;