summaryrefslogtreecommitdiffstats
path: root/arch/mips/philips/nino/rtc.c
blob: 0b2584411c6d4be4838fbce7ff083858513b44f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 *  linux/arch/mips/philips-mobile/nino/rtc.c
 *
 *  Copyright (C) 2001 Steven Hill (sjhill@realitydiluted.com)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 *  Functions to access the RTC on the PR31700 chip.
 */
#include <linux/mc146818rtc.h>

static unsigned char nino_rtc_read_data(unsigned long addr)
{
	return 0;
}

static void nino_rtc_write_data(unsigned char data, unsigned long addr)
{
}

static int nino_rtc_bcd_mode(void)
{
	return 0;
}

struct rtc_ops nino_rtc_ops =
{
	&nino_rtc_read_data,
	&nino_rtc_write_data,
	&nino_rtc_bcd_mode
};