]> Git Repo - linux.git/commit
Input: adi - work around module name confict
authorArnd Bergmann <[email protected]>
Tue, 9 Jun 2020 19:51:53 +0000 (12:51 -0700)
committerDmitry Torokhov <[email protected]>
Tue, 9 Jun 2020 19:53:49 +0000 (12:53 -0700)
commit751ad34fbad74c3ed4a9ede24764b4253d4faa84
treec9b0383510e5c7b5e5f0f52ca9d94b9690df40e3
parent8dd06ef34b6e2f41b29fbf5fc1663780f2524285
Input: adi - work around module name confict

Making module name conflicts a fatal error breaks sparc64 allmodconfig:

Error log:
error: the following would cause module name conflict:
  drivers/char/adi.ko
  drivers/input/joystick/adi.ko

Renaming one of the modules would solve the problem, but then cause other
problems because neither of them is automatically loaded and changing
the name is likely to break any setup that relies on manually loading
it by name.

As there is probably no sparc64 system with this kind of ancient joystick
attached, work around it by adding a Kconfig dependency that forbids
them from both being modules.  It is still possible to build the joystick
driver if the sparc64 adi driver is built-in.

Reported-by: Guenter Roeck <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/input/joystick/Kconfig
This page took 0.052099 seconds and 4 git commands to generate.