mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 13:36:43 +07:00
d7ddad0acc
Since F03 is a boolean, "depends" on symbols that can be modules do not work quite right. We can enable F03 if SERIO is built-in or if both RMI core and SERIO core are modules. If SERIO core is module, but RMI is built-in, we'll get: drivers/built-in.o: In function `rmi_f03_attention': rmi_f03.c:(.text+0xf8ef8): undefined reference to `serio_interrupt' rmi_f03.c:(.text+0xf8fbd): undefined reference to `serio_interrupt' drivers/built-in.o: In function `rmi_f03_remove': rmi_f03.c:(.text+0xf9082): undefined reference to `serio_unregister_port' drivers/built-in.o: In function `rmi_f03_probe': rmi_f03.c:(.text+0xf9260): undefined reference to `__serio_register_port' Reported-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rmi_2d_sensor.c | ||
rmi_2d_sensor.h | ||
rmi_bus.c | ||
rmi_bus.h | ||
rmi_driver.c | ||
rmi_driver.h | ||
rmi_f01.c | ||
rmi_f03.c | ||
rmi_f11.c | ||
rmi_f12.c | ||
rmi_f30.c | ||
rmi_f34.c | ||
rmi_f34.h | ||
rmi_f34v7.c | ||
rmi_f54.c | ||
rmi_f55.c | ||
rmi_i2c.c | ||
rmi_smbus.c | ||
rmi_spi.c |