Since JOYSTICK_SENSEHAT selects MFD_SIMPLE_MFD_I2C and the latter
depends on HAS_IOMEM, and since 'select' does not follow any
dependency chains, JOYSTICK_SENSEHAT should also depend on HAS_IOMEM
to prevent a kconfig warning and a build error:
WARNING: unmet direct dependencies detected for MFD_SIMPLE_MFD_I2C
Depends on [n]: HAS_IOMEM [=n] && I2C [=y]
Selected by [y]:
- JOYSTICK_SENSEHAT [=y] && INPUT_JOYSTICK [=y] && INPUT [=y] && I2C [=y]
s390-linux-ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe':
simple-mfd-i2c.c:(.text+0xc8): undefined reference to `devm_mfd_add_devices'
Fixes:
|
||
|---|---|---|
| .. | ||
| iforce | ||
| a3d.c | ||
| adc-joystick.c | ||
| adi.c | ||
| amijoy.c | ||
| analog.c | ||
| as5011.c | ||
| cobra.c | ||
| db9.c | ||
| fsia6b.c | ||
| gamecon.c | ||
| gf2k.c | ||
| grip.c | ||
| grip_mp.c | ||
| guillemot.c | ||
| interact.c | ||
| joydump.c | ||
| Kconfig | ||
| magellan.c | ||
| Makefile | ||
| maplecontrol.c | ||
| n64joy.c | ||
| psxpad-spi.c | ||
| pxrc.c | ||
| qwiic-joystick.c | ||
| sensehat-joystick.c | ||
| sidewinder.c | ||
| spaceball.c | ||
| spaceorb.c | ||
| stinger.c | ||
| tmdc.c | ||
| turbografx.c | ||
| twidjoy.c | ||
| walkera0701.c | ||
| warrior.c | ||
| xpad.c | ||
| zhenhua.c | ||