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

Subsystems: arm port, arm/cirrus logic bk3 machine support, arm/cirrus logic ep93xx arm architecture, arm/marvell dove/mv78xx0/orion soc support, arm/orion soc/technologic systems ts-78xx platform support, real time clock (rtc) subsystem, the rest

STALE3727d

4 messages, 4 authors, 2016-06-27 · open the first message on its own page

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

From: Alexandre Belloni <hidden>
Date: 2016-06-26 22:04:17

m48t86.h belongs to include/linux/platform_data/

Signed-off-by: Alexandre Belloni <redacted>
---
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <redacted>
Cc: Alexander Clouter <alex@digriz.org.uk>
Cc: Jason Cooper <redacted>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <redacted>
Cc: linux-arm-kernel at 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

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

From: Alexander Clouter <alex@digriz.org.uk>
Date: 2016-06-27 07:33:04

Acked-by: Alexander Clouter <alex@digriz.org.uk>

On Mon, Jun 27, 2016 at 12:03:02AM +0200, Alexandre Belloni wrote:
quoted hunk
m48t86.h belongs to include/linux/platform_data/

Signed-off-by: Alexandre Belloni <redacted>
---
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <redacted>
Cc: Alexander Clouter <alex@digriz.org.uk>
Cc: Jason Cooper <redacted>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <redacted>
Cc: linux-arm-kernel at 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

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

From: Jason Cooper <hidden>
Date: 2016-06-27 16:12:28

Hey Alexandre,

On Mon, Jun 27, 2016 at 12:03:02AM +0200, Alexandre Belloni wrote:
m48t86.h belongs to include/linux/platform_data/

Signed-off-by: Alexandre Belloni <redacted>
---
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <redacted>
Cc: Alexander Clouter <alex@digriz.org.uk>
Cc: Jason Cooper <redacted>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <redacted>
Cc: linux-arm-kernel at 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%)
For the orion5x bit,

Acked-by: Jason Cooper <redacted>

thx,

Jason.

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

From: Hartley Sweeten <hidden>
Date: 2016-06-27 16:15:54

On Sunday, June 26, 2016 3:03 PM, Alexandre Belloni wrote:
m48t86.h belongs to include/linux/platform_data/

Signed-off-by: Alexandre Belloni <redacted>
---
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <redacted>
Cc: Alexander Clouter <alex@digriz.org.uk>
Cc: Jason Cooper <redacted>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <redacted>
Cc: linux-arm-kernel at 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%)
For ep93xx:

Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help