diff options
| author | Guenter Roeck <[email protected]> | 2012-03-21 03:06:34 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2012-04-01 17:09:52 +0000 |
| commit | c1a1260244d8ffe017fbb3199f65c842e4d42fe6 (patch) | |
| tree | 272930c07b4d1c0df47ce62eeb3f7a224f14b430 /lib/mpi/mpi-inline.c | |
| parent | Linux 3.4-rc1 (diff) | |
| download | kernel-c1a1260244d8ffe017fbb3199f65c842e4d42fe6.tar.gz kernel-c1a1260244d8ffe017fbb3199f65c842e4d42fe6.zip | |
hwmon: (gpio-fan) Fix Kconfig dependencies
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: Guenter Roeck <[email protected]>
Acked-by: Jean Delvare <[email protected]>
Acked-by: Simon Guinot <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions
