]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/mn10300/include/asm/rtc.h
Merge tag 'metag_remove_2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-focal-kernel.git] / arch / mn10300 / include / asm / rtc.h
CommitLineData
b920de1b
DH
1/* MN10300 Real time clock definitions
2 *
3 * Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.
4 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
10 */
11#ifndef _ASM_RTC_H
12#define _ASM_RTC_H
13
14#ifdef CONFIG_MN10300_RTC
15
16#include <linux/init.h>
17
b920de1b 18extern void __init calibrate_clock(void);
b920de1b
DH
19
20#else /* !CONFIG_MN10300_RTC */
21
b920de1b
DH
22static inline void calibrate_clock(void)
23{
24}
25
b920de1b
DH
26#endif /* !CONFIG_MN10300_RTC */
27
b920de1b 28#endif /* _ASM_RTC_H */