summaryrefslogtreecommitdiff
path: root/libdde-linux26/contrib/include/linux/m48t86.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-27 22:15:10 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-27 22:15:10 +0000
commitb5875be0451b92bdd99663c8305ae46bd6a7d90c (patch)
tree68a6a5f79ac618c79ba3777c21faaea9aec2f0b4 /libdde-linux26/contrib/include/linux/m48t86.h
parentce6a36c7f7c88e7ca0fda816f9282237bb86829d (diff)
parent7996a3d79d55b7f879dfd62e202bbfe2963718d3 (diff)
Merge branch 'upstream-merged'
Diffstat (limited to 'libdde-linux26/contrib/include/linux/m48t86.h')
-rw-r--r--libdde-linux26/contrib/include/linux/m48t86.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libdde-linux26/contrib/include/linux/m48t86.h b/libdde-linux26/contrib/include/linux/m48t86.h
new file mode 100644
index 00000000..915d6b4f
--- /dev/null
+++ b/libdde-linux26/contrib/include/linux/m48t86.h
@@ -0,0 +1,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);
+};