[PATCH linux 06/13] misc/bt-host: unify device name to bt-host
OpenBMC Patches
patches at stwcx.xyz
Fri Oct 23 04:59:06 AEDT 2015
From: Jeremy Kerr <jk at ozlabs.org>
We have 'bt' in a few places, 'bt-host' in others. Unify on bt-host.
Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
---
drivers/misc/bt-host.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/misc/bt-host.c b/drivers/misc/bt-host.c
index 6aa215e..90713c5 100644
--- a/drivers/misc/bt-host.c
+++ b/drivers/misc/bt-host.c
@@ -15,7 +15,7 @@
#include <linux/timer.h>
#include <linux/jiffies.h>
-#define DEVICE_NAME "bt"
+#define DEVICE_NAME "bt-host"
#define BT_NUM_DEVS 1
#define BT_IO_BASE 0xe4
@@ -220,7 +220,7 @@ static const struct file_operations bt_host_fops = {
static struct miscdevice bt_host_miscdev = {
.minor = MISC_DYNAMIC_MINOR,
- .name = "bt",
+ .name = DEVICE_NAME,
.fops = &bt_host_fops,
};
@@ -319,7 +319,7 @@ static const struct of_device_id bt_host_match[] = {
static struct platform_driver bt_host_driver = {
.driver = {
- .name = "bt-host",
+ .name = DEVICE_NAME,
.owner = THIS_MODULE,
.of_match_table = bt_host_match,
},
--
2.6.0
More information about the openbmc
mailing list