aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2017-09-01 13:41:17 -0700
committerMarcel Holtmann <marcel@holtmann.org>2017-09-01 22:49:47 +0200
commit65bce46298d064dff9db1282e17bb26602715819 (patch)
treebb0e59a809f05a5388e3803ec3ec5a2e22fb014f /include/net/bluetooth
parentBluetooth: Add option for disabling legacy ioctl interfaces (diff)
downloadlinux-dev-65bce46298d064dff9db1282e17bb26602715819.tar.xz
linux-dev-65bce46298d064dff9db1282e17bb26602715819.zip
Bluetooth: make baswap src const
Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/bluetooth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index 01487192f628..020142bb9735 100644
--- a/include/net/bluetooth/bluetooth.h
+++ b/include/net/bluetooth/bluetooth.h
@@ -233,7 +233,7 @@ static inline void bacpy(bdaddr_t *dst, const bdaddr_t *src)
memcpy(dst, src, sizeof(bdaddr_t));
}
-void baswap(bdaddr_t *dst, bdaddr_t *src);
+void baswap(bdaddr_t *dst, const bdaddr_t *src);
/* Common socket structures and functions */