rtc-core.h 669 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2011 Heiko Stuebner <heiko@sntech.de>
  3. *
  4. * Samsung RTC Controller core functions
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __RTC_CORE_H
  11. #define __RTC_CORE_H __FILE__
  12. /* These functions are only for use with the core support code, such as
  13. * the cpu specific initialisation code
  14. */
  15. extern struct platform_device s3c_device_rtc;
  16. /* re-define device name depending on support. */
  17. static inline void s3c_rtc_setname(char *name)
  18. {
  19. s3c_device_rtc.name = name;
  20. }
  21. #endif /* __RTC_CORE_H */