All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: cadence: fix Kconfig dependency
@ 2014-04-06 19:07 ` Wolfram Sang
  0 siblings, 0 replies; 36+ messages in thread
From: Wolfram Sang @ 2014-04-06 19:07 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
  Cc: Soren Brinkmann,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Wolfram Sang

During development, the driver first really needed to depend on
COMMON_CLK only. Later, it was switched to writel_relaxed, but it was
forgotten to update the dependencies, so build errors occured:

config: make ARCH=i386 allyesconfig

All error/warnings:

   drivers/i2c/busses/i2c-cadence.c: In function 'cdns_i2c_clear_bus_hold':
>> drivers/i2c/busses/i2c-cadence.c:168:3: error: implicit declaration
>> of function 'writel_relaxed' [-Werror=implicit-function-declaration]

Use a very safe dependency for now.

Signed-off-by: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 93165ff453ab..3d3b9b3577c5 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -378,7 +378,7 @@ config I2C_BLACKFIN_TWI_CLK_KHZ
 
 config I2C_CADENCE
 	tristate "Cadence I2C Controller"
-	depends on COMMON_CLK
+	depends on ARCH_ZYNQ
 	help
 	  Say yes here to select Cadence I2C Host Controller. This controller is
 	  e.g. used by Xilinx Zynq.
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2014-05-22  4:58 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-06 19:07 [PATCH] i2c: cadence: fix Kconfig dependency Wolfram Sang
2014-04-06 19:07 ` Wolfram Sang
     [not found] ` <1396811227-8851-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-04-06 22:13   ` Sören Brinkmann
2014-04-06 22:13     ` Sören Brinkmann
2014-04-07  6:31 ` Uwe Kleine-König
2014-04-07  6:31   ` Uwe Kleine-König
2014-04-07  6:37   ` Alexander Shiyan
2014-04-07  6:37     ` Alexander Shiyan
     [not found]     ` <1396852656.682914397-OsTKtXgVMwVsdVUOrk1QfQ@public.gmane.org>
2014-04-07  6:56       ` Uwe Kleine-König
2014-04-07  6:56         ` Uwe Kleine-König
     [not found]         ` <20140407065657.GO29751-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-04-07  7:02           ` Alexander Shiyan
2014-04-07  7:02             ` Alexander Shiyan
     [not found]             ` <1396854155.872298456-PhO68MlTG7BsdVUOrk1QfQ@public.gmane.org>
2014-04-07 16:18               ` Sören Brinkmann
2014-04-07 16:18                 ` Sören Brinkmann
     [not found]                 ` <4c4d2ba5-f5f6-4589-8a48-6a88d1c16098-+Ck8Kgl/v09cIS6rUbAYerjjLBE8jN/0@public.gmane.org>
2014-05-21  8:29                   ` Wolfram Sang
2014-05-21  8:29                     ` Wolfram Sang
2014-05-21 16:00                     ` Sören Brinkmann
2014-05-21 16:00                       ` Sören Brinkmann
     [not found]                       ` <78a702ca-5001-444a-b2df-a64de17ffcb6-neA4ZlFjCT0GPAd83OwqBWYJ4DzVTqeXkX/xN29GLwg@public.gmane.org>
2014-05-22  4:58                         ` Michal Simek
2014-05-22  4:58                           ` Michal Simek
2014-04-07 15:36       ` Sören Brinkmann
2014-04-07 15:36         ` Sören Brinkmann
     [not found]         ` <dfab53fa-8b3c-4eb0-90b8-7df779ce68da-8XeO8fnFoNFDUMyIFHz4objjLBE8jN/0@public.gmane.org>
2014-04-07 17:50           ` Uwe Kleine-König
2014-04-07 17:50             ` Uwe Kleine-König
     [not found]   ` <20140407063100.GN29751-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-04-07  6:39     ` Michal Simek
2014-04-07  6:39       ` Michal Simek
     [not found]       ` <5342481B.6020600-pSz03upnqPeHXe+LvDLADg@public.gmane.org>
2014-04-07  6:56         ` Wolfram Sang
2014-04-07  6:56           ` Wolfram Sang
2014-04-07  7:00           ` Michal Simek
2014-04-07  7:00             ` Michal Simek
2014-04-08  8:33           ` Michal Simek
2014-04-08  8:33             ` Michal Simek
2014-04-07 15:37         ` Sören Brinkmann
2014-04-07 15:37           ` Sören Brinkmann
2014-04-07 16:14     ` Sören Brinkmann
2014-04-07 16:14       ` Sören Brinkmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.