From 3855c01e0a9d9e9787652479576e882bcda9fde5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sun, 3 Mar 2019 08:45:19 +0200 Subject: device/pnp: Add header files for PNP ops MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifda495420cfb121ad32920bb9f1cbdeef41f6d3a Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/31698 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/superio/smsc/dme1737/dme1737.h | 2 +- src/superio/smsc/dme1737/early_serial.c | 1 + src/superio/smsc/kbc1100/early_init.c | 1 + src/superio/smsc/kbc1100/kbc1100.h | 2 +- src/superio/smsc/lpc47b272/early_serial.c | 1 + src/superio/smsc/lpc47b272/lpc47b272.h | 2 +- src/superio/smsc/lpc47b397/early_serial.c | 1 + src/superio/smsc/lpc47b397/lpc47b397.h | 2 +- src/superio/smsc/lpc47m10x/early_serial.c | 1 + src/superio/smsc/lpc47m10x/lpc47m10x.h | 2 +- src/superio/smsc/lpc47m15x/early_serial.c | 1 + src/superio/smsc/lpc47m15x/lpc47m15x.h | 2 +- src/superio/smsc/lpc47n217/early_serial.c | 1 + src/superio/smsc/lpc47n217/lpc47n217.h | 2 +- src/superio/smsc/lpc47n227/early_serial.c | 1 + src/superio/smsc/lpc47n227/lpc47n227.h | 2 ++ src/superio/smsc/sch4037/sch4037_early_init.c | 1 + src/superio/smsc/sio1036/sio1036.h | 2 +- src/superio/smsc/sio1036/sio1036_early_init.c | 1 + src/superio/smsc/smscsuperio/early_serial.c | 1 + src/superio/smsc/smscsuperio/smscsuperio.h | 2 +- 21 files changed, 22 insertions(+), 9 deletions(-) (limited to 'src/superio/smsc') diff --git a/src/superio/smsc/dme1737/dme1737.h b/src/superio/smsc/dme1737/dme1737.h index 3a5683bf12..f40cc35488 100644 --- a/src/superio/smsc/dme1737/dme1737.h +++ b/src/superio/smsc/dme1737/dme1737.h @@ -26,7 +26,7 @@ #define DME1737_KBC 7 /* Keyboard & Mouse */ #define DME1737_RT 10 /* Runtime reg*/ -#include +#include #include void dme1737_enable_serial(pnp_devfn_t dev, u16 iobase); diff --git a/src/superio/smsc/dme1737/early_serial.c b/src/superio/smsc/dme1737/early_serial.c index 00813a0fc4..58ad177641 100644 --- a/src/superio/smsc/dme1737/early_serial.c +++ b/src/superio/smsc/dme1737/early_serial.c @@ -17,6 +17,7 @@ */ #include +#include #include #include #include "dme1737.h" diff --git a/src/superio/smsc/kbc1100/early_init.c b/src/superio/smsc/kbc1100/early_init.c index 658de9b654..fc3604372e 100644 --- a/src/superio/smsc/kbc1100/early_init.c +++ b/src/superio/smsc/kbc1100/early_init.c @@ -17,6 +17,7 @@ /* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */ #include +#include #include #include diff --git a/src/superio/smsc/kbc1100/kbc1100.h b/src/superio/smsc/kbc1100/kbc1100.h index 41d70e5157..8531643b33 100644 --- a/src/superio/smsc/kbc1100/kbc1100.h +++ b/src/superio/smsc/kbc1100/kbc1100.h @@ -17,7 +17,7 @@ #ifndef SUPERIO_SMSC_KBC1100_H #define SUPERIO_SMSC_KBC1100_H -#include +#include #include #define KBC1100_PM1 1 /* PM1 */ diff --git a/src/superio/smsc/lpc47b272/early_serial.c b/src/superio/smsc/lpc47b272/early_serial.c index a6bf9917f0..26fdfafbc6 100644 --- a/src/superio/smsc/lpc47b272/early_serial.c +++ b/src/superio/smsc/lpc47b272/early_serial.c @@ -17,6 +17,7 @@ /* Pre-RAM driver for SMSC LPC47B272 Super I/O chip. */ #include +#include #include #include #include "lpc47b272.h" diff --git a/src/superio/smsc/lpc47b272/lpc47b272.h b/src/superio/smsc/lpc47b272/lpc47b272.h index d1f5f74944..3fbd043364 100644 --- a/src/superio/smsc/lpc47b272/lpc47b272.h +++ b/src/superio/smsc/lpc47b272/lpc47b272.h @@ -26,7 +26,7 @@ #define LPC47B272_MAX_CONFIG_REGISTER 0x5F -#include +#include #include void lpc47b272_enable_serial(pnp_devfn_t dev, u16 iobase); diff --git a/src/superio/smsc/lpc47b397/early_serial.c b/src/superio/smsc/lpc47b397/early_serial.c index a3d03810bf..a07cd99d32 100644 --- a/src/superio/smsc/lpc47b397/early_serial.c +++ b/src/superio/smsc/lpc47b397/early_serial.c @@ -17,6 +17,7 @@ */ #include +#include #include #include #include "lpc47b397.h" diff --git a/src/superio/smsc/lpc47b397/lpc47b397.h b/src/superio/smsc/lpc47b397/lpc47b397.h index 43fc624b9f..5f3a5045ab 100644 --- a/src/superio/smsc/lpc47b397/lpc47b397.h +++ b/src/superio/smsc/lpc47b397/lpc47b397.h @@ -27,7 +27,7 @@ #define LPC47B397_HWM 8 /* HW Monitor */ #define LPC47B397_RT 10 /* Runtime reg*/ -#include +#include #include void lpc47b397_enable_serial(pnp_devfn_t dev, u16 iobase); diff --git a/src/superio/smsc/lpc47m10x/early_serial.c b/src/superio/smsc/lpc47m10x/early_serial.c index 6f165b427b..96c0b5df67 100644 --- a/src/superio/smsc/lpc47m10x/early_serial.c +++ b/src/superio/smsc/lpc47m10x/early_serial.c @@ -15,6 +15,7 @@ */ #include +#include #include #include #include "lpc47m10x.h" diff --git a/src/superio/smsc/lpc47m10x/lpc47m10x.h b/src/superio/smsc/lpc47m10x/lpc47m10x.h index 3a3bf96bd7..a83a6f242e 100644 --- a/src/superio/smsc/lpc47m10x/lpc47m10x.h +++ b/src/superio/smsc/lpc47m10x/lpc47m10x.h @@ -30,7 +30,7 @@ #define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F -#include +#include #include void lpc47m10x_enable_serial(pnp_devfn_t dev, u16 iobase); diff --git a/src/superio/smsc/lpc47m15x/early_serial.c b/src/superio/smsc/lpc47m15x/early_serial.c index 7e668eadda..aab603bc9e 100644 --- a/src/superio/smsc/lpc47m15x/early_serial.c +++ b/src/superio/smsc/lpc47m15x/early_serial.c @@ -16,6 +16,7 @@ /* Pre-RAM driver for the SMSC LPC47M15X Super I/O chip */ #include +#include #include #include diff --git a/src/superio/smsc/lpc47m15x/lpc47m15x.h b/src/superio/smsc/lpc47m15x/lpc47m15x.h index 179b5c0daf..e905e9a843 100644 --- a/src/superio/smsc/lpc47m15x/lpc47m15x.h +++ b/src/superio/smsc/lpc47m15x/lpc47m15x.h @@ -27,7 +27,7 @@ #define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F -#include +#include #include void lpc47m15x_enable_serial(pnp_devfn_t dev, u16 iobase); diff --git a/src/superio/smsc/lpc47n217/early_serial.c b/src/superio/smsc/lpc47n217/early_serial.c index f9ff04e28f..5fb8d7fcdb 100644 --- a/src/superio/smsc/lpc47n217/early_serial.c +++ b/src/superio/smsc/lpc47n217/early_serial.c @@ -17,6 +17,7 @@ /* Pre-RAM driver for SMSC LPC47N217 Super I/O chip. */ #include +#include #include #include "lpc47n217.h" diff --git a/src/superio/smsc/lpc47n217/lpc47n217.h b/src/superio/smsc/lpc47n217/lpc47n217.h index 1cae5a08b2..13b9bf3697 100644 --- a/src/superio/smsc/lpc47n217/lpc47n217.h +++ b/src/superio/smsc/lpc47n217/lpc47n217.h @@ -17,7 +17,7 @@ #ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H #define SUPERIO_SMSC_LPC47N217_LPC47N217_H -#include +#include #include /* diff --git a/src/superio/smsc/lpc47n227/early_serial.c b/src/superio/smsc/lpc47n227/early_serial.c index 4ae1fb76af..c02b8506d1 100644 --- a/src/superio/smsc/lpc47n227/early_serial.c +++ b/src/superio/smsc/lpc47n227/early_serial.c @@ -17,6 +17,7 @@ /* Pre-RAM driver for SMSC LPC47N227 Super I/O chip. */ #include +#include #include "lpc47n227.h" void pnp_enter_conf_state(pnp_devfn_t dev) diff --git a/src/superio/smsc/lpc47n227/lpc47n227.h b/src/superio/smsc/lpc47n227/lpc47n227.h index d629a67d2d..5e30f65f01 100644 --- a/src/superio/smsc/lpc47n227/lpc47n227.h +++ b/src/superio/smsc/lpc47n227/lpc47n227.h @@ -16,6 +16,8 @@ #ifndef SUPERIO_SMSC_LPC47N227_LPC47N227_H #define SUPERIO_SMSC_LPC47N227_LPC47N227_H +#include + /* * Since the LPC47N227 does not have logical devices but a flat configuration * space, these are arbitrary, but must match declarations in the mainboard diff --git a/src/superio/smsc/sch4037/sch4037_early_init.c b/src/superio/smsc/sch4037/sch4037_early_init.c index 0ebd2071eb..a416ab8358 100644 --- a/src/superio/smsc/sch4037/sch4037_early_init.c +++ b/src/superio/smsc/sch4037/sch4037_early_init.c @@ -15,6 +15,7 @@ #include +#include #include #include diff --git a/src/superio/smsc/sio1036/sio1036.h b/src/superio/smsc/sio1036/sio1036.h index 683dcd113e..610beba59c 100644 --- a/src/superio/smsc/sio1036/sio1036.h +++ b/src/superio/smsc/sio1036/sio1036.h @@ -22,7 +22,7 @@ #define LPT_POWER_DOWN (1 << 2) #define IR_OUTPUT_MUX (1 << 6) -#include +#include #include void sio1036_enable_serial(pnp_devfn_t dev, u16 iobase); diff --git a/src/superio/smsc/sio1036/sio1036_early_init.c b/src/superio/smsc/sio1036/sio1036_early_init.c index 1f2c9f2e5c..47f317f042 100644 --- a/src/superio/smsc/sio1036/sio1036_early_init.c +++ b/src/superio/smsc/sio1036/sio1036_early_init.c @@ -16,6 +16,7 @@ /* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */ #include +#include #include #include "sio1036.h" diff --git a/src/superio/smsc/smscsuperio/early_serial.c b/src/superio/smsc/smscsuperio/early_serial.c index 27e3ef266c..f058564ee6 100644 --- a/src/superio/smsc/smscsuperio/early_serial.c +++ b/src/superio/smsc/smscsuperio/early_serial.c @@ -16,6 +16,7 @@ */ #include +#include #include #include diff --git a/src/superio/smsc/smscsuperio/smscsuperio.h b/src/superio/smsc/smscsuperio/smscsuperio.h index 9e088b8687..c42328c09b 100644 --- a/src/superio/smsc/smscsuperio/smscsuperio.h +++ b/src/superio/smsc/smscsuperio/smscsuperio.h @@ -17,7 +17,7 @@ #ifndef SUPERIO_SMSC_SMSCSUPERIO_H #define SUPERIO_SMSC_SMSCSUPERIO_H -#include +#include #include /* All known/supported SMSC Super I/Os have the same logical device IDs -- cgit v1.2.3