@@ -40,7 +40,6 @@
#include <linux/cs-protocol.h>
#define CS_MMAP_SIZE PAGE_SIZE
-#define DRIVER_NAME "cmt_speech"
struct char_queue {
struct list_head list;
@@ -1365,7 +1364,7 @@ static const struct file_operations cs_char_fops = {
static struct miscdevice cs_char_miscdev = {
.minor = MISC_DYNAMIC_MINOR,
- .name = DRIVER_NAME,
+ .name = "cmt_speech",
.fops = &cs_char_fops
};
@@ -1408,7 +1407,7 @@ static int cs_hsi_client_remove(struct device *dev)
static struct hsi_client_driver cs_hsi_driver = {
.driver = {
- .name = DRIVER_NAME,
+ .name = "cmt-speech",
.owner = THIS_MODULE,
.probe = cs_hsi_client_probe,
.remove = cs_hsi_client_remove,
@@ -1429,7 +1428,7 @@ static void __exit cs_char_exit(void)
}
module_exit(cs_char_exit);
-MODULE_ALIAS("hsi:cmt_speech");
+MODULE_ALIAS("hsi:cmt-speech");
MODULE_AUTHOR("Kai Vehmanen <kai.vehmanen@nokia.com>");
MODULE_AUTHOR("Peter Ujfalusi <peter.ujfalusi@nokia.com>");
MODULE_DESCRIPTION("CMT speech driver");
Rename driver and platform alias to cmt-speech, so that it's consistent with the ssi-protocol driver. Signed-off-by: Sebastian Reichel <sre@kernel.org> --- drivers/hsi/clients/cmt_speech.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)