linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] max6875: should depend on I2C
@ 2009-05-04  9:49 Alexander Beregalov
  2009-05-04 10:48 ` Jean Delvare
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Beregalov @ 2009-05-04  9:49 UTC (permalink / raw)
  To: linux-next, w.sang, khali; +Cc: Alexander Beregalov

Fix this build error:
drivers/built-in.o: In function `max6875_remove':
max6875.c:(.text+0x6bdda): undefined reference to `i2c_unregister_device'

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
 drivers/misc/eeprom/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/misc/eeprom/Kconfig b/drivers/misc/eeprom/Kconfig
index e23f0ec..9118613 100644
--- a/drivers/misc/eeprom/Kconfig
+++ b/drivers/misc/eeprom/Kconfig
@@ -50,7 +50,7 @@ config EEPROM_LEGACY
 
 config EEPROM_MAX6875
 	tristate "Maxim MAX6874/5 power supply supervisor"
-	depends on EXPERIMENTAL
+	depends on I2C && EXPERIMENTAL
 	help
 	  If you say yes here you get read-only support for the user EEPROM of
 	  the Maxim MAX6874/5 EEPROM-programmable, quad power-supply
-- 
1.6.2.3

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

end of thread, other threads:[~2009-05-04 13:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-04  9:49 [PATCH] max6875: should depend on I2C Alexander Beregalov
2009-05-04 10:48 ` Jean Delvare
2009-05-04 12:55   ` Wolfram Sang
2009-05-04 13:46     ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).