mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
irda: Fix a misalign access issue. (v2)
Replace u16ho with put/get_unaligned functions Signed-off-by: Graf Yang <[email protected]> Signed-off-by: Bryan Wu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
c1cc678ada
commit
332223831e
4 changed files with 10 additions and 10 deletions
|
|
@ -57,9 +57,6 @@ typedef union {
|
|||
__u8 byte[2];
|
||||
} __u16_host_order;
|
||||
|
||||
/* Same purpose, different application */
|
||||
#define u16ho(array) (* ((__u16 *) array))
|
||||
|
||||
/* Types of discovery */
|
||||
typedef enum {
|
||||
DISCOVERY_LOG, /* What's in our discovery log */
|
||||
|
|
|
|||
Loading…
Reference in a new issue