From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Valentin Subject: Re: [PATCH] hwmon: Fix SENSORS_TMP102 dependencies to eliminate build errors Date: Wed, 8 Jan 2014 08:20:22 -0400 Message-ID: <52CD4286.7080205@ti.com> References: <20140108080557.3439ec23@endymion.delvare> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="spM41cQEGqLnWsmiSlmq63kNQQcOJmUp4" Return-path: Received: from arroyo.ext.ti.com ([192.94.94.40]:51628 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755106AbaAHMWY (ORCPT ); Wed, 8 Jan 2014 07:22:24 -0500 In-Reply-To: <20140108080557.3439ec23@endymion.delvare> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Jean Delvare Cc: Eduardo Valentin , Zhang Rui , LM Sensors , linux-pm@vger.kernel.org, Randy Dunlap , Guenter Roeck --spM41cQEGqLnWsmiSlmq63kNQQcOJmUp4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08-01-2014 03:05, Jean Delvare wrote: > Similar to what was done for the lm75 driver. >=20 > Add depends on THERMAL since that is what provides the > register/unregister functions above, but only if THERMAL_OF was > selected as this is an optional feature of the driver. >=20 > Signed-off-by: Jean Delvare > Cc: Randy Dunlap > Cc: Eduardo Valentin Acked-by: Eduardo Valentin > --- > drivers/hwmon/Kconfig | 1 + > 1 file changed, 1 insertion(+) >=20 > --- linux-3.13-rc7.orig/drivers/hwmon/Kconfig 2014-01-08 08:00:58.58307= 2658 +0100 > +++ linux-3.13-rc7/drivers/hwmon/Kconfig 2014-01-08 08:01:36.928977997 = +0100 > @@ -1285,6 +1285,7 @@ config SENSORS_THMC50 > config SENSORS_TMP102 > tristate "Texas Instruments TMP102" > depends on I2C > + depends on THERMAL || !THERMAL_OF > help > If you say yes here you get support for Texas Instruments TMP102 > sensor chips. >=20 >=20 --=20 You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin --spM41cQEGqLnWsmiSlmq63kNQQcOJmUp4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlLNQqUACgkQCXcVR3XQvP0oogEAsY3m+U4S7bHPW4NVi5CxPorC LoFIvLhtTYffnB7BIUoA/32UzMHJrrAZXyzGybl2WwY+a4n7N5dwtCKezJhRD4TQ =DcRQ -----END PGP SIGNATURE----- --spM41cQEGqLnWsmiSlmq63kNQQcOJmUp4--