linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>,
	linux-arm-kernel@lists.infradead.org
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
	Vladimir Barinov <vladimir.barinov@cogentembedded.com>,
	Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	Simon Horman <horms@verge.net.au>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Subject: linux-next: manual merge of the arm-soc tree with the v4l-dvb tree
Date: Thu, 29 Aug 2013 17:56:29 +1000	[thread overview]
Message-ID: <20130829175629.2f0b6904c481690cc69a582c@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 2329 bytes --]

Hi all,

Today's linux-next merge of the arm-soc tree got a conflict in
arch/arm/mach-shmobile/setup-r8a7778.c between commit 803c2df21752
("[media] ARM: shmobile: r8a7778: add VIN support") from the v4l-dvb tree
and commits cfa66a81621d ("ARM: shmobile: bockw: add DT reference") and
a66c9744574c ("ARM: shmobile: r8a7778: cleanup registration of mmcif")
from the arm-soc tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc arch/arm/mach-shmobile/setup-r8a7778.c
index 0174f05,604cf36..0000000
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@@ -319,55 -281,7 +281,41 @@@ void __init r8a7778_register_hspi(int i
  		hspi_resources + (2 * id), 2);
  }
  
- /* MMC */
- static struct resource mmc_resources[] __initdata = {
- 	DEFINE_RES_MEM(0xffe4e000, 0x100),
- 	DEFINE_RES_IRQ(gic_iid(0x5d)),
- };
- 
- void __init r8a7778_add_mmc_device(struct sh_mmcif_plat_data *info)
- {
- 	platform_device_register_resndata(
- 		&platform_bus, "sh_mmcif", -1,
- 		mmc_resources, ARRAY_SIZE(mmc_resources),
- 		info, sizeof(*info));
- }
- 
 +/* VIN */
 +#define R8A7778_VIN(idx)						\
 +static struct resource vin##idx##_resources[] __initdata = {		\
 +	DEFINE_RES_MEM(0xffc50000 + 0x1000 * (idx), 0x1000),		\
 +	DEFINE_RES_IRQ(gic_iid(0x5a)),					\
 +};									\
 +									\
 +static struct platform_device_info vin##idx##_info __initdata = {	\
 +	.parent		= &platform_bus,				\
 +	.name		= "r8a7778-vin",				\
 +	.id		= idx,						\
 +	.res		= vin##idx##_resources,				\
 +	.num_res	= ARRAY_SIZE(vin##idx##_resources),		\
 +	.dma_mask	= DMA_BIT_MASK(32),				\
 +}
 +
 +R8A7778_VIN(0);
 +R8A7778_VIN(1);
 +
 +static struct platform_device_info *vin_info_table[] __initdata = {
 +	&vin0_info,
 +	&vin1_info,
 +};
 +
 +void __init r8a7778_add_vin_device(int id, struct rcar_vin_platform_data *pdata)
 +{
 +	BUG_ON(id < 0 || id > 1);
 +
 +	vin_info_table[id]->data = pdata;
 +	vin_info_table[id]->size_data = sizeof(*pdata);
 +
 +	platform_device_register_full(vin_info_table[id]);
 +}
 +
- void __init r8a7778_add_standard_devices(void)
+ void __init r8a7778_add_dt_devices(void)
  {
  	int i;
  

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

             reply	other threads:[~2013-08-29  7:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-29  7:56 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-29  7:59 linux-next: manual merge of the arm-soc tree with the v4l-dvb tree Stephen Rothwell
2013-08-29  7:50 Stephen Rothwell
2013-08-29  7:47 Stephen Rothwell
2013-08-29  7:40 Stephen Rothwell
2013-08-29  7:35 Stephen Rothwell
2012-09-24  9:10 Stephen Rothwell

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=20130829175629.2f0b6904c481690cc69a582c@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=arnd@arndb.de \
    --cc=horms@verge.net.au \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=olof@lixom.net \
    --cc=sergei.shtylyov@cogentembedded.com \
    --cc=vladimir.barinov@cogentembedded.com \
    /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).