public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>,
	lm-sensors@lm-sensors•org,
	Guenter Roeck <guenter.roeck@ericsson•com>
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>,
	akpm <akpm@linux-foundation•org>
Subject: [PATCH -next] hwmon: jc42 depends on I2C
Date: Wed, 11 Aug 2010 10:35:11 -0700	[thread overview]
Message-ID: <20100811103511.41428e62.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20100811140009.6ff33109.sfr@canb.auug.org.au>

From: Randy Dunlap <randy.dunlap@oracle•com>

jc42 uses i2c interfaces, so it should depend on I2C.

drivers/hwmon/jc42.c:426: error: implicit declaration of function 'i2c_check_functionality'
drivers/hwmon/jc42.c:521: error: implicit declaration of function 'i2c_smbus_read_word_data'
drivers/hwmon/jc42.c:529: error: implicit declaration of function 'i2c_smbus_write_word_data'
drivers/hwmon/jc42.c:580: error: implicit declaration of function 'i2c_add_driver'
drivers/hwmon/jc42.c:585: error: implicit declaration of function 'i2c_del_driver'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
Cc:	lm-sensors@lm-sensors•org
---
 drivers/hwmon/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20100811.orig/drivers/hwmon/Kconfig
+++ linux-next-20100811/drivers/hwmon/Kconfig
@@ -465,6 +465,7 @@ config SENSORS_JZ4740
 
 config SENSORS_JC42
 	tristate "JEDEC JC42.4 compliant temperature sensors"
+	depends on I2C
 	help
 	  If you say yes here you get support for Jedec JC42.4 compliant
 	  temperature sensors. Support will include, but not be limited to,

  parent reply	other threads:[~2010-08-11 17:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11  4:00 linux-next: Tree for August 11 Stephen Rothwell
2010-08-11 15:51 ` linux-next: Tree for August 11 (hpet) Randy Dunlap
2010-08-11 18:06   ` john stultz
2010-08-11 17:35 ` Randy Dunlap [this message]
2010-08-11 17:43   ` [PATCH -next] hwmon: jc42 depends on I2C Guenter Roeck
2010-08-11 18:15     ` [lm-sensors] " Jean Delvare
2010-08-11 17:36 ` [PATCH -next] firmware: ibft depends on SCSI Randy Dunlap
2010-08-12 14:31   ` Peter Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100811103511.41428e62.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle$(echo .)com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=guenter.roeck@ericsson$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=lm-sensors@lm-sensors$(echo .)org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox