sh: Ignore R_SH_NONE module relocations.
[pandora-kernel.git] / drivers / staging / ath6kl / os / linux / include / athtypes_linux.h
1 //------------------------------------------------------------------------------
2 //
3 // This file contains the definitions of the basic atheros data types.
4 // It is used to map the data types in atheros files to a platform specific
5 // type.
6 // Copyright (c) 2004-2010 Atheros Communications Inc.
7 // All rights reserved.
8 //
9 // 
10 //
11 // Permission to use, copy, modify, and/or distribute this software for any
12 // purpose with or without fee is hereby granted, provided that the above
13 // copyright notice and this permission notice appear in all copies.
14 //
15 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
16 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
17 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
18 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
20 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
21 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 //
23 //
24 //
25 // Author(s): ="Atheros"
26 //------------------------------------------------------------------------------
27
28 #ifndef _ATHTYPES_LINUX_H_
29 #define _ATHTYPES_LINUX_H_
30
31 #ifdef __KERNEL__
32 #include <linux/types.h>
33 #else
34 #include <sys/types.h>
35 #endif
36
37 typedef int8_t      A_INT8;
38 typedef int16_t     A_INT16;
39 typedef int32_t     A_INT32;
40 typedef int64_t     A_INT64;
41
42 typedef u_int8_t     A_UINT8;
43 typedef u_int16_t    A_UINT16;
44 typedef u_int32_t    A_UINT32;
45 typedef u_int64_t    A_UINT64;
46
47 typedef char            A_CHAR;
48 typedef unsigned long   A_ATH_TIMER;
49
50
51 #endif /* _ATHTYPES_LINUX_H_ */