xref: /openbmc/linux/arch/mips/include/asm/ds1287.h (revision 58e16d792a6a8c6b750f637a4649967fcac853dc)
1*16216333SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2384740dcSRalf Baechle /*
3384740dcSRalf Baechle  *  DS1287 timer functions.
4384740dcSRalf Baechle  *
5ada8e951SYoichi Yuasa  *  Copyright (C) 2008  Yoichi Yuasa <yuasa@linux-mips.org>
6384740dcSRalf Baechle  */
7384740dcSRalf Baechle #ifndef __ASM_DS1287_H
8384740dcSRalf Baechle #define __ASM_DS1287_H
9384740dcSRalf Baechle 
10384740dcSRalf Baechle extern int ds1287_timer_state(void);
11384740dcSRalf Baechle extern void ds1287_set_base_clock(unsigned int clock);
12384740dcSRalf Baechle extern int ds1287_clockevent_init(int irq);
13384740dcSRalf Baechle 
14384740dcSRalf Baechle #endif
15