USB: add new routine for checking port-resume type
[linux-2.6/mini2440.git] / include / asm-v850 / types.h
blob89f735ee41dd6b478dbed3cdf6e16acdd6d18082
1 #ifndef __V850_TYPES_H__
2 #define __V850_TYPES_H__
4 #ifndef __ASSEMBLY__
6 /*
7 * This file is never included by application software unless
8 * explicitly requested (e.g., via linux/types.h) in which case the
9 * application is Linux specific so (user-) name space pollution is
10 * not a major issue. However, for interoperability, libraries still
11 * need to be careful to avoid a name clashes.
13 #include <asm-generic/int-ll64.h>
15 typedef unsigned short umode_t;
17 #endif /* !__ASSEMBLY__ */
20 * These aren't exported outside the kernel to avoid name space clashes
22 #ifdef __KERNEL__
24 #define BITS_PER_LONG 32
26 #ifndef __ASSEMBLY__
28 /* Dma addresses are 32-bits wide. */
30 typedef u32 dma_addr_t;
32 #endif /* !__ASSEMBLY__ */
34 #endif /* __KERNEL__ */
36 #endif /* __V850_TYPES_H__ */