diff options
author | David S. Miller <davem@davemloft.net> | 2018-06-17 08:38:55 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-17 08:38:55 +0900 |
commit | a9122886d9848d00a01888116a58624b9ba95cdc (patch) | |
tree | 1e31f35b19e1d8584116194e800c6d956da54a5d /drivers/media | |
parent | 9bbe60a67be5a1c6f79b3c9be5003481a50529ff (diff) | |
download | linux-a9122886d9848d00a01888116a58624b9ba95cdc.tar.bz2 |
bluetooth: hci_nokia: Don't include linux/unaligned/le_struct.h directly.
This breaks the build as this header is not meant to be used in this
way.
./include/linux/unaligned/access_ok.h:8:28: error: redefinition of ‘get_unaligned_le16’
static __always_inline u16 get_unaligned_le16(const void *p)
^~~~~~~~~~~~~~~~~~
In file included from drivers/bluetooth/hci_nokia.c:32:
./include/linux/unaligned/le_struct.h:7:19: note: previous definition of ‘get_unaligned_le16’ was here
static inline u16 get_unaligned_le16(const void *p)
Use asm/unaligned.h instead.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions