1. 01 Apr, 2012 2 commits
    • Guenter Roeck's avatar
      hwmon: (sht15) Fix Kconfig dependencies · be45d422
      Guenter Roeck authored
      sht15 depends on GPIOLIB, not on GENERIC_GPIO.
      
      This fixes the following build error, seen if GPIOLIB is not defined:
      
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_direction_input': => 293:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_direction_output': => 216:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_free': => 1000:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_get_value': => 296:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_request': => 946:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_set_value': => 218:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_to_irq': => 514:2
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Acked-by: default avatarJean Delvare <khali@linux-fr.org>
      be45d422
    • Guenter Roeck's avatar
      hwmon: (gpio-fan) Fix Kconfig dependencies · c1a12602
      Guenter Roeck authored
      gpio-fan depends on GPIOLIB, not on GENERIC_GPIO.
      
      This fixes the following build error, seen if GPIOLIB is not defined:
      
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_direction_output': => 372:3
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_free': => 130:2
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_get_value': => 79:2
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_request': => 98:2
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_set_value': => 156:3
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_to_irq': => 114:2
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Acked-by: default avatarJean Delvare <khali@linux-fr.org>
      Acked-by: default avatarSimon Guinot <sguinot@lacie.com>
      c1a12602
  2. 31 Mar, 2012 38 commits