summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/rtc-m48t86.h
blob: 915d6b4f0f89689a81d749b6a87b5b2c0ea2d432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * ST M48T86 / Dallas DS12887 RTC driver
 * Copyright (c) 2006 Tower Technologies
 *
 * Author: Alessandro Zummo <a.zummo@towertech.it>
 *
 * 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.
*/

struct m48t86_ops
{
	void (*writebyte)(unsigned char value, unsigned long addr);
	unsigned char (*readbyte)(unsigned long addr);
};