diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-02 07:59:25 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-02 08:10:05 +0200 |
commit | 922ca1dfc2127a5dc363e8c1e6c8a33c5a0a14c6 (patch) | |
tree | 9886294776fce61e1d91a95f5b08066652f33054 /drivers | |
parent | Bluetooth: Require CAP_NET_ADMIN for HCI User Channel operation (diff) | |
download | linux-922ca1dfc2127a5dc363e8c1e6c8a33c5a0a14c6.tar.xz linux-922ca1dfc2127a5dc363e8c1e6c8a33c5a0a14c6.zip |
Bluetooth: Enable -D__CHECK_ENDIAN__ for sparse by default
The Bluetooth protocol and hardware is pretty much all little endian
and so when running sparse via "make C=2" for example, enable the
endian checks by default.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/bluetooth/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/Makefile b/drivers/bluetooth/Makefile index 4afae20df512..9fe8a875a827 100644 --- a/drivers/bluetooth/Makefile +++ b/drivers/bluetooth/Makefile @@ -30,3 +30,5 @@ hci_uart-$(CONFIG_BT_HCIUART_LL) += hci_ll.o hci_uart-$(CONFIG_BT_HCIUART_ATH3K) += hci_ath.o hci_uart-$(CONFIG_BT_HCIUART_3WIRE) += hci_h5.o hci_uart-objs := $(hci_uart-y) + +ccflags-y += -D__CHECK_ENDIAN__ |