summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-06-26 22:57:52 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-06-27 18:15:25 +0200
commit803bb30145df3132f9c8c8704d11a9e6732340c7 (patch)
tree8f695742e772128c69aed607d0f3d06c37da69dc /include/linux/platform_data
parent10c2a2e71301deb4d7760c140606bc61841aacd3 (diff)
rtc: m48t86: move m48t86.h to platform_data
m48t86.h belongs to include/linux/platform_data/ Acked-by: Jason Cooper <jason@lakedaemon.net> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Alexander Clouter <alex@digriz.org.uk> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/rtc-m48t86.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/platform_data/rtc-m48t86.h b/include/linux/platform_data/rtc-m48t86.h
new file mode 100644
index 000000000000..915d6b4f0f89
--- /dev/null
+++ b/include/linux/platform_data/rtc-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);
+};