[4/4] bus: ts-nbus: weaken driver dependency to allow broader compile testing

Message ID 20181026184157.16371-4-u.kleine-koenig@pengutronix.de
State New
Headers show
Series
  • [1/4] pwm: Add new helper to initialize a pwm_state variable with defaults
Related show

Commit Message

Uwe Kleine-König Oct. 26, 2018, 6:41 p.m.
There is nothing specific for the i.MX28 SoC in the ts-nbus driver and
it compiles just fine with an ARM/s3c24xx configuration.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/bus/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thierry Reding Nov. 14, 2018, 12:18 p.m. | #1
On Fri, Oct 26, 2018 at 08:41:58PM +0200, Uwe Kleine-König wrote:
> There is nothing specific for the i.MX28 SoC in the ts-nbus driver and
> it compiles just fine with an ARM/s3c24xx configuration.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  drivers/bus/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Looks like Sebastien's email no longer exists. Seeing that this driver
was merged a year ago and doesn't have any in-kernel users I wonder if
there's any use in keeping it.

Arnd, this looks completely dead at this point and it doesn't seem like
this ever had any users, should we remove it?

Thierry

Patch

diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index 1851112ccc29..bf1f43b847e9 100644
--- a/drivers/bus/Kconfig
+++ b/drivers/bus/Kconfig
@@ -149,7 +149,7 @@  config TI_SYSC
 
 config TS_NBUS
 	tristate "Technologic Systems NBUS Driver"
-	depends on SOC_IMX28
+	depends on SOC_IMX28 || COMPILE_TEST
 	depends on OF_GPIO && PWM
 	help
 	  Driver for the Technologic Systems NBUS which is used to interface