From f1b58b78351d7ed220673e688a2f7bc9e96da4e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 1 Mar 2019 13:43:02 +0200 Subject: device/pci: Fix PCI accessor headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PCI config accessors are no longer indirectly included from use instead. Change-Id: I2adf46430a33bc52ef69d1bf7dca4655fc8475bd Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/31675 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Angel Pons Reviewed-by: Arthur Heymans Reviewed-by: Felix Held --- src/mainboard/lenovo/l520/romstage.c | 1 + src/mainboard/lenovo/s230u/romstage.c | 1 + src/mainboard/lenovo/t400/fadt.c | 1 + src/mainboard/lenovo/t400/romstage.c | 1 + src/mainboard/lenovo/t420/romstage.c | 1 + src/mainboard/lenovo/t420s/romstage.c | 1 + src/mainboard/lenovo/t420s/smihandler.c | 1 + src/mainboard/lenovo/t430/romstage.c | 1 + src/mainboard/lenovo/t430s/romstage.c | 1 + src/mainboard/lenovo/t430s/smihandler.c | 1 + src/mainboard/lenovo/t430s/variants/t430s/romstage.c | 1 + src/mainboard/lenovo/t520/romstage.c | 1 + src/mainboard/lenovo/t520/smihandler.c | 1 + src/mainboard/lenovo/t530/romstage.c | 1 + src/mainboard/lenovo/t530/smihandler.c | 1 + src/mainboard/lenovo/t60/romstage.c | 1 + src/mainboard/lenovo/t60/smihandler.c | 1 + src/mainboard/lenovo/thinkcentre_a58/romstage.c | 1 + src/mainboard/lenovo/x131e/romstage.c | 1 + src/mainboard/lenovo/x1_carbon_gen1/romstage.c | 1 + src/mainboard/lenovo/x200/dock.c | 1 + src/mainboard/lenovo/x200/fadt.c | 1 + src/mainboard/lenovo/x200/romstage.c | 1 + src/mainboard/lenovo/x201/dock.c | 1 + src/mainboard/lenovo/x201/mainboard.c | 1 + src/mainboard/lenovo/x201/romstage.c | 1 + src/mainboard/lenovo/x201/smihandler.c | 1 + src/mainboard/lenovo/x220/romstage.c | 1 + src/mainboard/lenovo/x220/smihandler.c | 1 + src/mainboard/lenovo/x230/romstage.c | 1 + src/mainboard/lenovo/x60/romstage.c | 1 + src/mainboard/lenovo/x60/smihandler.c | 1 + src/mainboard/lenovo/z61t/romstage.c | 1 + src/mainboard/lenovo/z61t/smihandler.c | 1 + 34 files changed, 34 insertions(+) (limited to 'src/mainboard/lenovo') diff --git a/src/mainboard/lenovo/l520/romstage.c b/src/mainboard/lenovo/l520/romstage.c index d9e021b408..c2539b178a 100644 --- a/src/mainboard/lenovo/l520/romstage.c +++ b/src/mainboard/lenovo/l520/romstage.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/s230u/romstage.c b/src/mainboard/lenovo/s230u/romstage.c index beeb96dc8d..ef3c835ed3 100644 --- a/src/mainboard/lenovo/s230u/romstage.c +++ b/src/mainboard/lenovo/s230u/romstage.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t400/fadt.c b/src/mainboard/lenovo/t400/fadt.c index d22ffd9b38..45c0d74222 100644 --- a/src/mainboard/lenovo/t400/fadt.c +++ b/src/mainboard/lenovo/t400/fadt.c @@ -16,6 +16,7 @@ #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t400/romstage.c b/src/mainboard/lenovo/t400/romstage.c index 9f8993c5be..0be24ebdce 100644 --- a/src/mainboard/lenovo/t400/romstage.c +++ b/src/mainboard/lenovo/t400/romstage.c @@ -17,6 +17,7 @@ // __PRE_RAM__ means: use "unsigned" for device, not a struct. #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t420/romstage.c b/src/mainboard/lenovo/t420/romstage.c index aad83489dd..d497e0ca18 100644 --- a/src/mainboard/lenovo/t420/romstage.c +++ b/src/mainboard/lenovo/t420/romstage.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t420s/romstage.c b/src/mainboard/lenovo/t420s/romstage.c index 5754a6dc2f..1a7d341959 100644 --- a/src/mainboard/lenovo/t420s/romstage.c +++ b/src/mainboard/lenovo/t420s/romstage.c @@ -17,6 +17,7 @@ #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t420s/smihandler.c b/src/mainboard/lenovo/t420s/smihandler.c index 0e8e6d071a..be4228dc90 100644 --- a/src/mainboard/lenovo/t420s/smihandler.c +++ b/src/mainboard/lenovo/t420s/smihandler.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t430/romstage.c b/src/mainboard/lenovo/t430/romstage.c index 90d0886af1..b5dc2bc7af 100644 --- a/src/mainboard/lenovo/t430/romstage.c +++ b/src/mainboard/lenovo/t430/romstage.c @@ -14,6 +14,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t430s/romstage.c b/src/mainboard/lenovo/t430s/romstage.c index ab2bb0a442..4edd5c6131 100644 --- a/src/mainboard/lenovo/t430s/romstage.c +++ b/src/mainboard/lenovo/t430s/romstage.c @@ -15,6 +15,7 @@ * GNU General Public License for more details. */ +#include #include #include diff --git a/src/mainboard/lenovo/t430s/smihandler.c b/src/mainboard/lenovo/t430s/smihandler.c index d69f6b6f7c..876d81c0d7 100644 --- a/src/mainboard/lenovo/t430s/smihandler.c +++ b/src/mainboard/lenovo/t430s/smihandler.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t430s/variants/t430s/romstage.c b/src/mainboard/lenovo/t430s/variants/t430s/romstage.c index 1b1c4b2b79..33d65dd5ab 100644 --- a/src/mainboard/lenovo/t430s/variants/t430s/romstage.c +++ b/src/mainboard/lenovo/t430s/variants/t430s/romstage.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t520/romstage.c b/src/mainboard/lenovo/t520/romstage.c index b7bdbbbd71..6f9525053a 100644 --- a/src/mainboard/lenovo/t520/romstage.c +++ b/src/mainboard/lenovo/t520/romstage.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t520/smihandler.c b/src/mainboard/lenovo/t520/smihandler.c index f8400dd670..88ce5046fc 100644 --- a/src/mainboard/lenovo/t520/smihandler.c +++ b/src/mainboard/lenovo/t520/smihandler.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t530/romstage.c b/src/mainboard/lenovo/t530/romstage.c index 065cff69ee..d37f0d14c1 100644 --- a/src/mainboard/lenovo/t530/romstage.c +++ b/src/mainboard/lenovo/t530/romstage.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t530/smihandler.c b/src/mainboard/lenovo/t530/smihandler.c index 150232f354..bf0f81fc57 100644 --- a/src/mainboard/lenovo/t530/smihandler.c +++ b/src/mainboard/lenovo/t530/smihandler.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t60/romstage.c b/src/mainboard/lenovo/t60/romstage.c index 3017357235..a8efa9940d 100644 --- a/src/mainboard/lenovo/t60/romstage.c +++ b/src/mainboard/lenovo/t60/romstage.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t60/smihandler.c b/src/mainboard/lenovo/t60/smihandler.c index aa29984ef4..51ced894be 100644 --- a/src/mainboard/lenovo/t60/smihandler.c +++ b/src/mainboard/lenovo/t60/smihandler.c @@ -15,6 +15,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/thinkcentre_a58/romstage.c b/src/mainboard/lenovo/thinkcentre_a58/romstage.c index cac09d104c..f377c895a1 100644 --- a/src/mainboard/lenovo/thinkcentre_a58/romstage.c +++ b/src/mainboard/lenovo/thinkcentre_a58/romstage.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/src/mainboard/lenovo/x131e/romstage.c b/src/mainboard/lenovo/x131e/romstage.c index 43e0bd7dfb..c1a082f01f 100644 --- a/src/mainboard/lenovo/x131e/romstage.c +++ b/src/mainboard/lenovo/x131e/romstage.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x1_carbon_gen1/romstage.c b/src/mainboard/lenovo/x1_carbon_gen1/romstage.c index 7f6181b3f4..fa7af40521 100644 --- a/src/mainboard/lenovo/x1_carbon_gen1/romstage.c +++ b/src/mainboard/lenovo/x1_carbon_gen1/romstage.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x200/dock.c b/src/mainboard/lenovo/x200/dock.c index dc5eabf372..6e87644302 100644 --- a/src/mainboard/lenovo/x200/dock.c +++ b/src/mainboard/lenovo/x200/dock.c @@ -18,6 +18,7 @@ #define __SIMPLE_DEVICE__ #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x200/fadt.c b/src/mainboard/lenovo/x200/fadt.c index d22ffd9b38..45c0d74222 100644 --- a/src/mainboard/lenovo/x200/fadt.c +++ b/src/mainboard/lenovo/x200/fadt.c @@ -16,6 +16,7 @@ #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x200/romstage.c b/src/mainboard/lenovo/x200/romstage.c index e8bbfb09fd..7e428e40fa 100644 --- a/src/mainboard/lenovo/x200/romstage.c +++ b/src/mainboard/lenovo/x200/romstage.c @@ -17,6 +17,7 @@ // __PRE_RAM__ means: use "unsigned" for device, not a struct. #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x201/dock.c b/src/mainboard/lenovo/x201/dock.c index a25fc70fba..04050f2d35 100644 --- a/src/mainboard/lenovo/x201/dock.c +++ b/src/mainboard/lenovo/x201/dock.c @@ -18,6 +18,7 @@ #define __SIMPLE_DEVICE__ #include #include +#include #include #include #include "dock.h" diff --git a/src/mainboard/lenovo/x201/mainboard.c b/src/mainboard/lenovo/x201/mainboard.c index eb686f48c7..5347429bde 100644 --- a/src/mainboard/lenovo/x201/mainboard.c +++ b/src/mainboard/lenovo/x201/mainboard.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c index 601c4aed05..caaeffc0d7 100644 --- a/src/mainboard/lenovo/x201/romstage.c +++ b/src/mainboard/lenovo/x201/romstage.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x201/smihandler.c b/src/mainboard/lenovo/x201/smihandler.c index f1e2c3f9b0..e733b3b5fe 100644 --- a/src/mainboard/lenovo/x201/smihandler.c +++ b/src/mainboard/lenovo/x201/smihandler.c @@ -15,6 +15,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x220/romstage.c b/src/mainboard/lenovo/x220/romstage.c index 2d6c2a78f3..a5b1b52c57 100644 --- a/src/mainboard/lenovo/x220/romstage.c +++ b/src/mainboard/lenovo/x220/romstage.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x220/smihandler.c b/src/mainboard/lenovo/x220/smihandler.c index 150232f354..bf0f81fc57 100644 --- a/src/mainboard/lenovo/x220/smihandler.c +++ b/src/mainboard/lenovo/x220/smihandler.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x230/romstage.c b/src/mainboard/lenovo/x230/romstage.c index 6a47ac0374..5014a7627b 100644 --- a/src/mainboard/lenovo/x230/romstage.c +++ b/src/mainboard/lenovo/x230/romstage.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x60/romstage.c b/src/mainboard/lenovo/x60/romstage.c index 6f66c88c96..4a9757d9be 100644 --- a/src/mainboard/lenovo/x60/romstage.c +++ b/src/mainboard/lenovo/x60/romstage.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/x60/smihandler.c b/src/mainboard/lenovo/x60/smihandler.c index 3c8565d496..18e5046289 100644 --- a/src/mainboard/lenovo/x60/smihandler.c +++ b/src/mainboard/lenovo/x60/smihandler.c @@ -15,6 +15,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/z61t/romstage.c b/src/mainboard/lenovo/z61t/romstage.c index 6eceaeb77d..33700fe3fe 100644 --- a/src/mainboard/lenovo/z61t/romstage.c +++ b/src/mainboard/lenovo/z61t/romstage.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/z61t/smihandler.c b/src/mainboard/lenovo/z61t/smihandler.c index 4f622241a6..eacbd5e077 100644 --- a/src/mainboard/lenovo/z61t/smihandler.c +++ b/src/mainboard/lenovo/z61t/smihandler.c @@ -15,6 +15,7 @@ */ #include +#include #include #include #include -- cgit v1.2.3