Skip to contentSkip to conversation

input: misc: e3x0-button: Fix typo in module name

PATCH Applied Moritz Fischer 2 participants 5 messages Oct 25, 2015 – Oct 26, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 906dd1b..7ac277c7 100644
@@ -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
#1 lore raw

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
index 7ac277c7..a676c2c 100644
@@ -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
maintainer Applied
#2 lore raw

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.

Applied, thank you.

Quoted 25 lines
---
 drivers/input/misc/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/input/misc/Kconfig +2 -2
index 7ac277c7..a676c2c 100644
@@ -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
maintainer
#3 lore raw
In reply to Moritz Fischer

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 construct KBUILD_MODNAME we substitute commas and dashes for underscores - see scripts/Makefile.lib

Quoted 22 lines
---
 drivers/input/misc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/misc/Kconfig +1 -1
index 906dd1b..7ac277c7 100644
@@ -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
#4 lore raw
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 construct KBUILD_MODNAME we substitute commas and dashes for underscores - see scripts/Makefile.lib

Thanks for the clarification. Good to know it wasn't broken in the first place.

Cheers,

Moritz