]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Input: include export.h in modules using EXPORT_SYMBOL*()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 6 Aug 2025 18:16:51 +0000 (11:16 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 21 Aug 2025 19:00:59 +0000 (12:00 -0700)
commitdf595059d54383c42607b59f1f9ea74dade280fe
tree508b4f07f820fa876f6d4a6ea526d1f2d650d0a7
parentc07329a66cad285faff6c11aaa10eefe1abcfc47
Input: include export.h in modules using EXPORT_SYMBOL*()

A number of modules in the input subsystem use EXPORT_SYMBOL() and
friends without explicitly including the corresponding header
<linux/export.h>. While the build currently succeeds due to this header
being pulled in transitively, this is not guaranteed to be the case in
the future.

Let's add the explicit include to make the dependencies clear and
prevent future build breakage.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
29 files changed:
drivers/input/ff-core.c
drivers/input/ff-memless.c
drivers/input/gameport/gameport.c
drivers/input/input-poller.c
drivers/input/input.c
drivers/input/joystick/iforce/iforce-main.c
drivers/input/joystick/iforce/iforce-packets.c
drivers/input/misc/ad714x.c
drivers/input/misc/adxl34x.c
drivers/input/misc/cma3000_d0x.c
drivers/input/rmi4/rmi_2d_sensor.c
drivers/input/rmi4/rmi_bus.c
drivers/input/rmi4/rmi_driver.c
drivers/input/serio/hil_mlc.c
drivers/input/serio/hp_sdc.c
drivers/input/serio/i8042.c
drivers/input/serio/libps2.c
drivers/input/serio/serio.c
drivers/input/sparse-keymap.c
drivers/input/touch-overlay.c
drivers/input/touchscreen.c
drivers/input/touchscreen/ad7879.c
drivers/input/touchscreen/cyttsp_core.c
drivers/input/touchscreen/goodix_berlin_core.c
drivers/input/touchscreen/tsc200x-core.c
drivers/input/touchscreen/wm9705.c
drivers/input/touchscreen/wm9712.c
drivers/input/touchscreen/wm9713.c
drivers/input/touchscreen/wm97xx-core.c