module.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  2. * arch/arm/mach-ns9xxx/include/mach/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. #include <asm/mach-types.h>
  14. #define module_is_cc7ucamry() (0 \
  15. || machine_is_cc7ucamry() \
  16. )
  17. #define module_is_cc9c() (0 \
  18. || machine_is_cc9c() \
  19. )
  20. #define module_is_cc9p9210() (0 \
  21. || machine_is_cc9p9210() \
  22. || machine_is_cc9p9210js() \
  23. )
  24. #define module_is_cc9p9215() (0 \
  25. || machine_is_cc9p9215() \
  26. || machine_is_cc9p9215js() \
  27. )
  28. #define module_is_cc9p9360() (0 \
  29. || machine_is_a9m9360() \
  30. || machine_is_cc9p9360dev() \
  31. || machine_is_cc9p9360js() \
  32. || machine_is_cc9p9360val() \
  33. )
  34. #define module_is_cc9p9750() (0 \
  35. || machine_is_a9m9750() \
  36. || machine_is_cc9p9750dev() \
  37. || machine_is_cc9p9750js() \
  38. || machine_is_cc9p9750val() \
  39. )
  40. #define module_is_ccw9c() (0 \
  41. || machine_is_ccw9c() \
  42. )
  43. #define module_is_inc20otter() (0 \
  44. || machine_is_inc20otter() \
  45. )
  46. #define module_is_otter() (0 \
  47. || machine_is_otter() \
  48. )
  49. #endif /* ifndef __ASM_ARCH_MODULE_H */