projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Rename function bt_err to bt_to_errno
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
bluetooth
/
lib.c
diff --git
a/net/bluetooth/lib.c
b/net/bluetooth/lib.c
index b826d1bf10df5ce53f9674a061a65e940af73913..4e7cf8b0bd871f4b8a893934e40a30fd62e0a43c 100644
(file)
--- a/
net/bluetooth/lib.c
+++ b/
net/bluetooth/lib.c
@@
-59,7
+59,7
@@
char *batostr(bdaddr_t *ba)
EXPORT_SYMBOL(batostr);
/* Bluetooth error codes to Unix errno mapping */
-int bt_
err
(__u16 code)
+int bt_
to_errno
(__u16 code)
{
switch (code) {
case 0:
@@
-149,4
+149,4
@@
int bt_err(__u16 code)
return ENOSYS;
}
}
-EXPORT_SYMBOL(bt_
err
);
+EXPORT_SYMBOL(bt_
to_errno
);