input: misc: e3x0-button: Fix typo in module name
Subsystems (2)
PATCH 1/2 input: misc: e3x0-button: Fix typo in module name
The produced module will be called e3x0-button, not e3x0_button.
--- drivers/input/misc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/misc/Kconfig +1 -1
@@ -101,7 +101,7 @@ config INPUT_E3X0_BUTTON USRP E3x0 Button. To compile this driver as a module, choose M here: the - module will be called e3x0_button. + module will be called e3x0-button. config INPUT_PCSPKR tristate "PC Speaker support"
Signature · 1 line
2.6.2
PATCH 2/2 input: misc: e3x0-button: Update Kconfig description
The driver is now used for the entire USRP e3xx series, this commit fixes the description that will be displayed in the menu accordingly.
--- drivers/input/misc/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/input/misc/Kconfig +2 -2
@@ -94,11 +94,11 @@ config INPUT_BMA150 module will be called bma150. config INPUT_E3X0_BUTTON - tristate "NI Ettus Research USRP E3x0 Button support." + tristate "NI Ettus Research USRP E3xx Button support." default n help Say Y here to enable support for the NI Ettus Research - USRP E3x0 Button. + USRP E3xx Button. To compile this driver as a module, choose M here: the module will be called e3x0-button.
Signature · 1 line
2.6.2
Re: [PATCH 2/2] input: misc: e3x0-button: Update Kconfig description
Quoted 5 lines · Moritz Fischer
The driver is now used for the entire USRP e3xx series, this commit fixes the description that will be displayed in the menu accordingly.
Signed-off-by Moritz Fischer <[email protected]>
Applied, thank you.
Quoted 25 lines
--- drivers/input/misc/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/input/misc/Kconfig +2
-2@@ -94,11 +94,11 @@ config INPUT_BMA150 module will be called bma150. config INPUT_E3X0_BUTTON - tristate "NI Ettus Research USRP E3x0 Button support." + tristate "NI Ettus Research USRP E3xx Button support." default n help Say Y here to enable support for the NI Ettus Research - USRP E3x0 Button. + USRP E3xx Button. To compile this driver as a module, choose M here: the module will be called e3x0-button.Signature · 1 line
2.6.2
Signature · 1 line
Dmitry
Dmitry Torokhov
maintainerHi Moritz,
Quoted 2 lines · Moritz Fischer
The produced module will be called e3x0-button, not
e3x0_button.
This is not entirely correct. The file name is e3x0-button.ko, but the module name is e3x0_button: when we construct KBUILD_MODNAME we substitute commas and dashes for underscores - see scripts/Makefile.lib
Quoted 22 lines
Signed-off-by Moritz Fischer <[email protected]>--- drivers/input/misc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/input/misc/Kconfig +1
-1@@ -101,7 +101,7 @@ config INPUT_E3X0_BUTTON USRP E3x0 Button. To compile this driver as a module, choose M here: the - module will be called e3x0_button. + module will be called e3x0-button. config INPUT_PCSPKR tristate "PC Speaker support"Signature · 1 line
2.6.2
Thanks.
Signature · 1 line
Dmitry
Quoted 9 lines · Dmitry Torokhov
Hi Moritz,
Quoted 2 lines · Moritz Fischer
The produced module will be called e3x0-button, not
e3x0_button.This is not entirely correct. The file name is e3x0-button.ko, but the module name is
e3x0_button: when we constructKBUILD_MODNAMEwe substitute commas and dashes for underscores - seescripts/Makefile.lib
Thanks for the clarification. Good to know it wasn't broken in the first place.
Cheers,
Moritz