Commit | Line | Data |
---|---|---|
a9fc01f9 UKK |
1 | /* |
2 | * include/asm-arm/arch-ns9xxx/module.h | |
3 | * | |
4 | * Copyright (C) 2007 by Digi International Inc. | |
5 | * All rights reserved. | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify it | |
8 | * under the terms of the GNU General Public License version 2 as published by | |
9 | * the Free Software Foundation. | |
10 | */ | |
11 | #ifndef __ASM_ARCH_MODULE_H | |
12 | #define __ASM_ARCH_MODULE_H | |
13 | ||
14 | #include <asm/mach-types.h> | |
15 | ||
16 | #define module_is_cc7ucamry() (0 \ | |
17 | || machine_is_cc7ucamry() \ | |
18 | ) | |
19 | ||
20 | #define module_is_cc9c() (0 \ | |
21 | || machine_is_cc9c() \ | |
22 | ) | |
23 | ||
24 | #define module_is_cc9p9210() (0 \ | |
25 | || machine_is_cc9p9210() \ | |
26 | || machine_is_cc9p9210js() \ | |
27 | ) | |
28 | ||
29 | #define module_is_cc9p9215() (0 \ | |
30 | || machine_is_cc9p9215() \ | |
31 | || machine_is_cc9p9215js() \ | |
32 | ) | |
33 | ||
34 | #define module_is_cc9p9360() (0 \ | |
35 | || machine_is_a9m9360() \ | |
36 | || machine_is_cc9p9360dev() \ | |
37 | || machine_is_cc9p9360js() \ | |
38 | || machine_is_cc9p9360val() \ | |
39 | ) | |
40 | ||
41 | #define module_is_cc9p9750() (0 \ | |
42 | || machine_is_a9m9750() \ | |
43 | || machine_is_cc9p9750dev() \ | |
44 | || machine_is_cc9p9750js() \ | |
45 | || machine_is_cc9p9750val() \ | |
46 | ) | |
47 | ||
48 | #define module_is_ccw9c() (0 \ | |
49 | || machine_is_ccw9c() \ | |
50 | ) | |
51 | ||
52 | #define module_is_inc20otter() (0 \ | |
53 | || machine_is_inc20otter() \ | |
54 | ) | |
55 | ||
56 | #define module_is_otter() (0 \ | |
57 | || machine_is_otter() \ | |
58 | ) | |
59 | ||
60 | #endif /* ifndef __ASM_ARCH_MODULE_H */ |