Re: [PATCH -next] hwmon: fix gpio-fan.c build

2015-03-10 Thread Guenter Roeck

On 03/10/2015 04:42 PM, Randy Dunlap wrote:

From: Randy Dunlap 

Fix build error when CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y
by preventing that combination.

Fixes these build errors:

drivers/built-in.o: In function `gpio_fan_remove':
gpio-fan.c:(.text+0x21e97e): undefined reference to 
`thermal_cooling_device_unregister'
drivers/built-in.o: In function `gpio_fan_probe':
gpio-fan.c:(.text+0x21efbc): undefined reference to 
`thermal_cooling_device_register'

Signed-off-by: Randy Dunlap 
Cc: Jean Delvare 
Cc: Guenter Roeck 
Cc: lm-sens...@lm-sensors.org
Cc: Simon Guinot 
---
  drivers/hwmon/Kconfig |1 +
  1 file changed, 1 insertion(+)

--- linux-next-20150310.orig/drivers/hwmon/Kconfig
+++ linux-next-20150310/drivers/hwmon/Kconfig
@@ -510,6 +510,7 @@ config SENSORS_G762
  config SENSORS_GPIO_FAN
tristate "GPIO fan"
depends on GPIOLIB
+   depends on THERMAL || THERMAL=n
help
  If you say yes here you get support for fans connected to GPIO lines.



Applied, thanks.

I really have to add that combination to my build tests :-(

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH -next] hwmon: fix gpio-fan.c build

2015-03-10 Thread Randy Dunlap
From: Randy Dunlap 

Fix build error when CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y
by preventing that combination.

Fixes these build errors:

drivers/built-in.o: In function `gpio_fan_remove':
gpio-fan.c:(.text+0x21e97e): undefined reference to 
`thermal_cooling_device_unregister'
drivers/built-in.o: In function `gpio_fan_probe':
gpio-fan.c:(.text+0x21efbc): undefined reference to 
`thermal_cooling_device_register'

Signed-off-by: Randy Dunlap 
Cc: Jean Delvare 
Cc: Guenter Roeck 
Cc: lm-sens...@lm-sensors.org
Cc: Simon Guinot 
---
 drivers/hwmon/Kconfig |1 +
 1 file changed, 1 insertion(+)

--- linux-next-20150310.orig/drivers/hwmon/Kconfig
+++ linux-next-20150310/drivers/hwmon/Kconfig
@@ -510,6 +510,7 @@ config SENSORS_G762
 config SENSORS_GPIO_FAN
tristate "GPIO fan"
depends on GPIOLIB
+   depends on THERMAL || THERMAL=n
help
  If you say yes here you get support for fans connected to GPIO lines.
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH -next] hwmon: fix gpio-fan.c build

2015-03-10 Thread Guenter Roeck

On 03/10/2015 04:42 PM, Randy Dunlap wrote:

From: Randy Dunlap rdun...@infradead.org

Fix build error when CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y
by preventing that combination.

Fixes these build errors:

drivers/built-in.o: In function `gpio_fan_remove':
gpio-fan.c:(.text+0x21e97e): undefined reference to 
`thermal_cooling_device_unregister'
drivers/built-in.o: In function `gpio_fan_probe':
gpio-fan.c:(.text+0x21efbc): undefined reference to 
`thermal_cooling_device_register'

Signed-off-by: Randy Dunlap rdun...@infradead.org
Cc: Jean Delvare jdelv...@suse.de
Cc: Guenter Roeck li...@roeck-us.net
Cc: lm-sens...@lm-sensors.org
Cc: Simon Guinot sgui...@lacie.com
---
  drivers/hwmon/Kconfig |1 +
  1 file changed, 1 insertion(+)

--- linux-next-20150310.orig/drivers/hwmon/Kconfig
+++ linux-next-20150310/drivers/hwmon/Kconfig
@@ -510,6 +510,7 @@ config SENSORS_G762
  config SENSORS_GPIO_FAN
tristate GPIO fan
depends on GPIOLIB
+   depends on THERMAL || THERMAL=n
help
  If you say yes here you get support for fans connected to GPIO lines.



Applied, thanks.

I really have to add that combination to my build tests :-(

Guenter

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH -next] hwmon: fix gpio-fan.c build

2015-03-10 Thread Randy Dunlap
From: Randy Dunlap rdun...@infradead.org

Fix build error when CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y
by preventing that combination.

Fixes these build errors:

drivers/built-in.o: In function `gpio_fan_remove':
gpio-fan.c:(.text+0x21e97e): undefined reference to 
`thermal_cooling_device_unregister'
drivers/built-in.o: In function `gpio_fan_probe':
gpio-fan.c:(.text+0x21efbc): undefined reference to 
`thermal_cooling_device_register'

Signed-off-by: Randy Dunlap rdun...@infradead.org
Cc: Jean Delvare jdelv...@suse.de
Cc: Guenter Roeck li...@roeck-us.net
Cc: lm-sens...@lm-sensors.org
Cc: Simon Guinot sgui...@lacie.com
---
 drivers/hwmon/Kconfig |1 +
 1 file changed, 1 insertion(+)

--- linux-next-20150310.orig/drivers/hwmon/Kconfig
+++ linux-next-20150310/drivers/hwmon/Kconfig
@@ -510,6 +510,7 @@ config SENSORS_G762
 config SENSORS_GPIO_FAN
tristate GPIO fan
depends on GPIOLIB
+   depends on THERMAL || THERMAL=n
help
  If you say yes here you get support for fans connected to GPIO lines.
 
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/