common.h 600 B

1234567891011121314151617181920212223242526
  1. /*
  2. * This file contains common function prototypes to avoid externs in the c files.
  3. *
  4. * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
  5. *
  6. * Licensed under GPLv2 or later.
  7. */
  8. #ifndef __MACH_PRIMA2_COMMON_H__
  9. #define __MACH_PRIMA2_COMMON_H__
  10. #include <linux/init.h>
  11. #include <asm/mach/time.h>
  12. extern struct sys_timer sirfsoc_timer;
  13. extern void __init sirfsoc_of_irq_init(void);
  14. extern void __init sirfsoc_of_clk_init(void);
  15. #ifndef CONFIG_DEBUG_LL
  16. static inline void sirfsoc_map_lluart(void) {}
  17. #else
  18. extern void __init sirfsoc_map_lluart(void);
  19. #endif
  20. #endif