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


Groups > linux.kernel > #1431628

[PATCH 4/5] rtc: m48t86: move m48t86.h to platform_data

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

Show all headers | View raw


m48t86.h belongs to include/linux/platform_data/

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
Cc: Alexander Clouter <alex@digriz.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: linux-arm-kernel@lists.infradead.org

 arch/arm/mach-ep93xx/ts72xx.c                          | 2 +-
 arch/arm/mach-orion5x/ts78xx-setup.c                   | 2 +-
 drivers/rtc/rtc-m48t86.c                               | 2 +-
 include/linux/{m48t86.h => platform_data/rtc-m48t86.h} | 0
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename include/linux/{m48t86.h => platform_data/rtc-m48t86.h} (100%)

diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c
index 45b81a2bcd4b..3b39ea353d30 100644
--- a/arch/arm/mach-ep93xx/ts72xx.c
+++ b/arch/arm/mach-ep93xx/ts72xx.c
@@ -16,7 +16,7 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/io.h>
-#include <linux/m48t86.h>
+#include <linux/platform_data/rtc-m48t86.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/partitions.h>
 
diff --git a/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c
index 3a58a5d4a28a..8d597267d0c4 100644
--- a/arch/arm/mach-orion5x/ts78xx-setup.c
+++ b/arch/arm/mach-orion5x/ts78xx-setup.c
@@ -16,7 +16,7 @@
 #include <linux/platform_device.h>
 #include <linux/mv643xx_eth.h>
 #include <linux/ata_platform.h>
-#include <linux/m48t86.h>
+#include <linux/platform_data/rtc-m48t86.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/partitions.h>
 #include <linux/timeriomem-rng.h>
diff --git a/drivers/rtc/rtc-m48t86.c b/drivers/rtc/rtc-m48t86.c
index f72b91f2501f..0eeb5714c00f 100644
--- a/drivers/rtc/rtc-m48t86.c
+++ b/drivers/rtc/rtc-m48t86.c
@@ -16,7 +16,7 @@
 #include <linux/module.h>
 #include <linux/rtc.h>
 #include <linux/platform_device.h>
-#include <linux/m48t86.h>
+#include <linux/platform_data/rtc-m48t86.h>
 #include <linux/bcd.h>
 
 #define M48T86_REG_SEC		0x00
diff --git a/include/linux/m48t86.h b/include/linux/platform_data/rtc-m48t86.h
similarity index 100%
rename from include/linux/m48t86.h
rename to include/linux/platform_data/rtc-m48t86.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