diff mbox series

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

Message ID 20230706161040.21152-2-henning.schild@siemens.com
State New
Headers show
Series platform/x86: simatic-ipc: minor cleanups | expand

Commit Message

Henning Schild July 6, 2023, 4:10 p.m. UTC
We do not use PCI any longer since
commit 446f0cf9e08b ("platform/x86: simatic-ipc: drop custom P2SB bar code")'

Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
 drivers/platform/x86/Kconfig       | 1 -
 drivers/platform/x86/simatic-ipc.c | 1 -
 2 files changed, 2 deletions(-)

Comments

Hans de Goede July 14, 2023, 9:32 a.m. UTC | #1
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 <henning.schild@siemens.com>

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>
>
diff mbox series

Patch

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>