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:
Graf Yang 2008-05-13 23:25:57 -07:00 • committed by David S. Miller
commit 332223831e
4 changed files with 10 additions and 10 deletions

View file

@ -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 */