Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1431623

[PATCH 2/5] rtc: ds1286: move header to linux/rtc

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH 2/5] rtc: ds1286: move header to linux/rtc
Date 2016-06-27 00:10 +0200
Message-ID <rOqpA-5R-25@gated-at.bofh.it> (permalink)
References <rOqpz-5R-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Move ds1286.h to rtc specific folder.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
 arch/mips/sgi-ip22/ip22-reset.c  | 2 +-
 drivers/rtc/rtc-ds1286.c         | 2 +-
 include/linux/{ => rtc}/ds1286.h | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename include/linux/{ => rtc}/ds1286.h (100%)

diff --git a/arch/mips/sgi-ip22/ip22-reset.c b/arch/mips/sgi-ip22/ip22-reset.c
index 063c2dd31e72..2f45b0357021 100644
--- a/arch/mips/sgi-ip22/ip22-reset.c
+++ b/arch/mips/sgi-ip22/ip22-reset.c
@@ -7,7 +7,7 @@
  */
 #include <linux/linkage.h>
 #include <linux/init.h>
-#include <linux/ds1286.h>
+#include <linux/rtc/ds1286.h>
 #include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
diff --git a/drivers/rtc/rtc-ds1286.c b/drivers/rtc/rtc-ds1286.c
index 756e509f6ed2..ef75c349dff9 100644
--- a/drivers/rtc/rtc-ds1286.c
+++ b/drivers/rtc/rtc-ds1286.c
@@ -16,7 +16,7 @@
 #include <linux/rtc.h>
 #include <linux/platform_device.h>
 #include <linux/bcd.h>
-#include <linux/ds1286.h>
+#include <linux/rtc/ds1286.h>
 #include <linux/io.h>
 #include <linux/slab.h>
 
diff --git a/include/linux/ds1286.h b/include/linux/rtc/ds1286.h
similarity index 100%
rename from include/linux/ds1286.h
rename to include/linux/rtc/ds1286.h
-- 
2.8.1

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/5] rtc: ds17287: remove unused header Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-06-27 00:10 +0200
  [PATCH 3/5] rtc: ds2404: move rtc-ds2404.h to platform_data Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-06-27 00:10 +0200
  [PATCH 2/5] rtc: ds1286: move header to linux/rtc Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-06-27 00:10 +0200
  [PATCH 4/5] rtc: m48t86: move m48t86.h to platform_data Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-06-27 00:10 +0200
    Re: [PATCH 4/5] rtc: m48t86: move m48t86.h to platform_data Alexander Clouter <alex@digriz.org.uk> - 2016-06-27 09:40 +0200
    Re: [PATCH 4/5] rtc: m48t86: move m48t86.h to platform_data Jason Cooper <jason@lakedaemon.net> - 2016-06-27 18:20 +0200
    RE: [PATCH 4/5] rtc: m48t86: move m48t86.h to platform_data Hartley Sweeten <HartleyS@visionengravers.com> - 2016-06-27 18:20 +0200

csiph-web