* [PATCH 01/12] ARM: SAMSUNG: local regs-srom header in mach-exynos
@ 2015-07-27 14:57 Kukjin Kim
2015-07-28 0:40 ` Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Kukjin Kim @ 2015-07-27 14:57 UTC (permalink / raw)
To: linux-samsung-soc; +Cc: Krzysztof Kozlowski
This patch moves regs-srom header file into mach-exynos.
c: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
---
arch/arm/{plat-samsung/include/plat => mach-exynos}/regs-srom.h | 3 +--
arch/arm/mach-exynos/suspend.c | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
rename arch/arm/{plat-samsung/include/plat => mach-exynos}/regs-srom.h (96%)
diff --git a/arch/arm/plat-samsung/include/plat/regs-srom.h b/arch/arm/mach-exynos/regs-srom.h
similarity index 96%
rename from arch/arm/plat-samsung/include/plat/regs-srom.h
rename to arch/arm/mach-exynos/regs-srom.h
index 9b6729c..5c4d442 100644
--- a/arch/arm/plat-samsung/include/plat/regs-srom.h
+++ b/arch/arm/mach-exynos/regs-srom.h
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-samsung/include/plat/regs-srom.h
- *
+/*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c
index c506f8e..e00eb39 100644
--- a/arch/arm/mach-exynos/suspend.c
+++ b/arch/arm/mach-exynos/suspend.c
@@ -32,11 +32,11 @@
#include <asm/suspend.h>
#include <plat/pm-common.h>
-#include <plat/regs-srom.h>
#include "common.h"
-#include "regs-pmu.h"
#include "exynos-pmu.h"
+#include "regs-pmu.h"
+#include "regs-srom.h"
#define REG_TABLE_END (-1U)
--
2.0.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 01/12] ARM: SAMSUNG: local regs-srom header in mach-exynos
2015-07-27 14:57 [PATCH 01/12] ARM: SAMSUNG: local regs-srom header in mach-exynos Kukjin Kim
@ 2015-07-28 0:40 ` Krzysztof Kozlowski
2015-07-29 0:48 ` Kukjin Kim
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-28 0:40 UTC (permalink / raw)
To: Kukjin Kim, linux-samsung-soc
On 27.07.2015 23:57, Kukjin Kim wrote:
>
> This patch moves regs-srom header file into mach-exynos.
Hi,
Minor nits:
1. Could you trim it and remove unnecessary empty line before description?
2. Could you answer in commit message: Why? Why are you moving the headers?
>
> c: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Malformed "Cc:" tag.
Best regards,
Krzysztof
> Signed-off-by: Kukjin Kim <kgene@kernel.org>
> ---
> arch/arm/{plat-samsung/include/plat => mach-exynos}/regs-srom.h | 3 +--
> arch/arm/mach-exynos/suspend.c | 4 ++--
> 2 files changed, 3 insertions(+), 4 deletions(-)
> rename arch/arm/{plat-samsung/include/plat => mach-exynos}/regs-srom.h (96%)
>
> diff --git a/arch/arm/plat-samsung/include/plat/regs-srom.h b/arch/arm/mach-exynos/regs-srom.h
> similarity index 96%
> rename from arch/arm/plat-samsung/include/plat/regs-srom.h
> rename to arch/arm/mach-exynos/regs-srom.h
> index 9b6729c..5c4d442 100644
> --- a/arch/arm/plat-samsung/include/plat/regs-srom.h
> +++ b/arch/arm/mach-exynos/regs-srom.h
> @@ -1,5 +1,4 @@
> -/* linux/arch/arm/plat-samsung/include/plat/regs-srom.h
> - *
> +/*
> * Copyright (c) 2010 Samsung Electronics Co., Ltd.
> * http://www.samsung.com
> *
> diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c
> index c506f8e..e00eb39 100644
> --- a/arch/arm/mach-exynos/suspend.c
> +++ b/arch/arm/mach-exynos/suspend.c
> @@ -32,11 +32,11 @@
> #include <asm/suspend.h>
>
> #include <plat/pm-common.h>
> -#include <plat/regs-srom.h>
>
> #include "common.h"
> -#include "regs-pmu.h"
> #include "exynos-pmu.h"
> +#include "regs-pmu.h"
> +#include "regs-srom.h"
>
> #define REG_TABLE_END (-1U)
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread* RE: [PATCH 01/12] ARM: SAMSUNG: local regs-srom header in mach-exynos
2015-07-28 0:40 ` Krzysztof Kozlowski
@ 2015-07-29 0:48 ` Kukjin Kim
0 siblings, 0 replies; 3+ messages in thread
From: Kukjin Kim @ 2015-07-29 0:48 UTC (permalink / raw)
To: 'Krzysztof Kozlowski', 'Kukjin Kim',
linux-samsung-soc
Krzysztof Kozlowski wrote:
>
> On 27.07.2015 23:57, Kukjin Kim wrote:
> >
> > This patch moves regs-srom header file into mach-exynos.
>
> Hi,
>
Hi,
> Minor nits:
> 1. Could you trim it and remove unnecessary empty line before description?
Yeah, actually I couldn't use git send-email when I submitted but just used
e-mail. It should be fine in my local branch.
> 2. Could you answer in commit message: Why? Why are you moving the headers?
>
OK, basically we don't need to keep headers in <mach/xxx> and <plat/xxx> if it
is not required. For example, actually common.h files in mach-xxxx/ have been
made/moved because of the reason before. Someday we did because it was required
to support multi_v7 as well. Anyway it is still required and note that I have
some more patches to move headers which are used only for under drivers/ not
arch side into drivers/. And next step is removing some definitions which are
not used more.
> >
> > c: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>
> Malformed "Cc:" tag.
>
Oh, OK. Thanks.
One more thing, please ignore patch "[09/12] ARM: SAMSUNG: local keypad header
in mach-s3c64xx" in this series because the header is used in plat-samsung as
well.
Anyway, thanks,
Kukjin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-29 0:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27 14:57 [PATCH 01/12] ARM: SAMSUNG: local regs-srom header in mach-exynos Kukjin Kim
2015-07-28 0:40 ` Krzysztof Kozlowski
2015-07-29 0:48 ` Kukjin Kim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.