linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: lokeshvutla@ti.com (Lokesh Vutla)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] drivers: bus: Move omap gpmc code to live under drivers
Date: Fri, 21 Nov 2014 13:35:58 +0530	[thread overview]
Message-ID: <546EF266.1010901@ti.com> (raw)
In-Reply-To: <1416522501-14999-4-git-send-email-tony@atomide.com>

Hi Tony,

On Friday 21 November 2014 03:58 AM, Tony Lindgren wrote:
> Just move to drivers as further clean-up can now happen there
> finally.
> 
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Roger Quadros <rogerq@ti.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
>  arch/arm/mach-omap2/Kconfig                           | 1 +
>  arch/arm/mach-omap2/Makefile                          | 2 +-
>  drivers/bus/Kconfig                                   | 3 +++
>  drivers/bus/Makefile                                  | 3 ++-
>  arch/arm/mach-omap2/gpmc.c => drivers/bus/omap-gpmc.c | 0
>  5 files changed, 7 insertions(+), 2 deletions(-)
>  rename arch/arm/mach-omap2/gpmc.c => drivers/bus/omap-gpmc.c (100%)
> 
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index f4d06ae..3021901 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -80,6 +80,7 @@ config ARCH_OMAP2PLUS
>  	select GENERIC_IRQ_CHIP
>  	select MACH_OMAP_GENERIC
>  	select OMAP_DM_TIMER
> +	select OMAP_GPMC
>  	select PINCTRL
>  	select SOC_BUS
>  	select TI_PRIV_EDMA
> diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
> index 3e824f8..bd85741 100644
> --- a/arch/arm/mach-omap2/Makefile
> +++ b/arch/arm/mach-omap2/Makefile
> @@ -6,7 +6,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
>  	-I$(srctree)/arch/arm/plat-omap/include
>  
>  # Common support
> -obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o gpmc.o timer.o pm.o \
> +obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o timer.o pm.o \
>  	 common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
>  	 omap_device.o sram.o drm.o
>  
> diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
> index 603eb1b..09aacc8 100644
> --- a/drivers/bus/Kconfig
> +++ b/drivers/bus/Kconfig
> @@ -27,6 +27,9 @@ config MVEBU_MBUS
>  	  Driver needed for the MBus configuration on Marvell EBU SoCs
>  	  (Kirkwood, Dove, Orion5x, MV78XX0 and Armada 370/XP).
>  
> +config OMAP_GPMC
> +	bool
> +
>  config OMAP_OCP2SCP
>  	tristate "OMAP OCP2SCP DRIVER"
>  	depends on ARCH_OMAP2PLUS
> diff --git a/drivers/bus/Makefile b/drivers/bus/Makefile
> index 2973c18..96e77dd 100644
> --- a/drivers/bus/Makefile
> +++ b/drivers/bus/Makefile
> @@ -5,7 +5,8 @@
>  obj-$(CONFIG_BRCMSTB_GISB_ARB)	+= brcmstb_gisb.o
>  obj-$(CONFIG_IMX_WEIM)	+= imx-weim.o
>  obj-$(CONFIG_MVEBU_MBUS) += mvebu-mbus.o
> -obj-$(CONFIG_OMAP_OCP2SCP)	+= omap-ocp2scp.o
I guess this is unrelated to $subject. Shouldn't this be dropped?

Thanks and regards,
Lokesh
> +
> +obj-$(CONFIG_OMAP_GPMC)		+= omap-gpmc.o
>  
>  # Interconnect bus driver for OMAP SoCs.
>  obj-$(CONFIG_OMAP_INTERCONNECT)	+= omap_l3_smx.o omap_l3_noc.o
> diff --git a/arch/arm/mach-omap2/gpmc.c b/drivers/bus/omap-gpmc.c
> similarity index 100%
> rename from arch/arm/mach-omap2/gpmc.c
> rename to drivers/bus/omap-gpmc.c
> 

  reply	other threads:[~2014-11-21  8:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-20 22:28 [PATCH 0/3] Move omap GPMC to live in drivers/bus Tony Lindgren
2014-11-20 22:28 ` [PATCH 1/3] ARM: OMAP2+: Prepare to move GPMC to drivers by platform data header Tony Lindgren
2014-11-21  9:28   ` Roger Quadros
2014-11-21 16:15     ` Tony Lindgren
2014-11-21 16:55       ` Tony Lindgren
2014-11-20 22:28 ` [PATCH 2/3] ARM: OMAP2+: Move GPMC initcall to devices.c Tony Lindgren
2014-11-21  9:41   ` Roger Quadros
2014-11-21 16:17     ` Tony Lindgren
2014-11-20 22:28 ` [PATCH 3/3] drivers: bus: Move omap gpmc code to live under drivers Tony Lindgren
2014-11-21  8:05   ` Lokesh Vutla [this message]
2014-11-21 17:18     ` Tony Lindgren
2014-11-21  9:15   ` Roger Quadros
2014-11-21 11:15     ` Arnd Bergmann
2014-11-21 16:18       ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546EF266.1010901@ti.com \
    --to=lokeshvutla@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).