2023-07-06 16:18:39

by Henning Schild

[permalink] [raw]
Subject: [PATCH 1/2] platform/x86: simatic-ipc: drop PCI runtime depends and header

We do not use PCI any longer since
commit 446f0cf9e08b ("platform/x86: simatic-ipc: drop custom P2SB bar code")'

Signed-off-by: Henning Schild <[email protected]>
---
drivers/platform/x86/Kconfig | 1 -
drivers/platform/x86/simatic-ipc.c | 1 -
2 files changed, 2 deletions(-)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 49c2c4cd8d00..d9ba3cb9ac50 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -1076,7 +1076,6 @@ config INTEL_SCU_IPC_UTIL

config SIEMENS_SIMATIC_IPC
tristate "Siemens Simatic IPC Class driver"
- depends on PCI
help
This Simatic IPC class driver is the central of several drivers. It
is mainly used for system identification, after which drivers in other
diff --git a/drivers/platform/x86/simatic-ipc.c b/drivers/platform/x86/simatic-ipc.c
index c773995b230d..2523f6dc9db9 100644
--- a/drivers/platform/x86/simatic-ipc.c
+++ b/drivers/platform/x86/simatic-ipc.c
@@ -15,7 +15,6 @@
#include <linux/dmi.h>
#include <linux/kernel.h>
#include <linux/module.h>
-#include <linux/pci.h>
#include <linux/platform_data/x86/simatic-ipc.h>
#include <linux/platform_device.h>

--
2.39.3



2023-07-14 09:56:45

by Hans de Goede

[permalink] [raw]
Subject: Re: [PATCH 1/2] platform/x86: simatic-ipc: drop PCI runtime depends and header

Hi,

On 7/6/23 18:10, Henning Schild wrote:
> We do not use PCI any longer since
> commit 446f0cf9e08b ("platform/x86: simatic-ipc: drop custom P2SB bar code")'
>
> Signed-off-by: Henning Schild <[email protected]>

Thank you. I've merged this into the new platform-drivers-x86-simatic-ipc
branch where I'm collecting all the pending platform/x86: simatic-ipc
work.

Regards,

Hans


> ---
> drivers/platform/x86/Kconfig | 1 -
> drivers/platform/x86/simatic-ipc.c | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index 49c2c4cd8d00..d9ba3cb9ac50 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -1076,7 +1076,6 @@ config INTEL_SCU_IPC_UTIL
>
> config SIEMENS_SIMATIC_IPC
> tristate "Siemens Simatic IPC Class driver"
> - depends on PCI
> help
> This Simatic IPC class driver is the central of several drivers. It
> is mainly used for system identification, after which drivers in other
> diff --git a/drivers/platform/x86/simatic-ipc.c b/drivers/platform/x86/simatic-ipc.c
> index c773995b230d..2523f6dc9db9 100644
> --- a/drivers/platform/x86/simatic-ipc.c
> +++ b/drivers/platform/x86/simatic-ipc.c
> @@ -15,7 +15,6 @@
> #include <linux/dmi.h>
> #include <linux/kernel.h>
> #include <linux/module.h>
> -#include <linux/pci.h>
> #include <linux/platform_data/x86/simatic-ipc.h>
> #include <linux/platform_device.h>
>