summaryrefslogtreecommitdiff
path: root/include/linux/m48t86.h
blob: 9065199319d033cc0560c1f91305930980827039 (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 (*writeb)(unsigned char value, unsigned long addr);
	unsigned char (*readb)(unsigned long addr);
};