linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Herbert Xu <herbert@gondor.hengli.com.au>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andreas Westin <andreas.westin@stericsson.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Lee Jones <lee.jones@linaro.org>, Arnd Bergmann <arnd@arndb.de>
Subject: linux-next: manual merge of the crypto tree with Linus' tree
Date: Mon, 7 May 2012 12:11:37 +1000	[thread overview]
Message-ID: <20120507121137.bdfc96ed31649040506d9c75@canb.auug.org.au> (raw)

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

Hi Herbert,

Today's linux-next merge of the crypto tree got conflicts in
arch/arm/mach-ux500/board-mop500.c and arch/arm/mach-ux500/board-u5500.c
between commit b024a0c80435 ("ARM: ux500: move top level platform devices
in sysfs to /sys/devices/socX") from Linus' tree and commit 3ba812f4d0be
("mach-ux500: crypto - core support for CRYP/HASH module") from the
crypto tree.

Just context changes.  I fixed them up (see below) and can carry the
fixes as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc arch/arm/mach-ux500/board-mop500.c
index 77d03c1,4e9bcd6..0000000
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@@ -595,13 -627,19 +635,19 @@@ static struct amba_pl011_data uart2_pla
  #endif
  };
  
 -static void __init mop500_uart_init(void)
 +static void __init mop500_uart_init(struct device *parent)
  {
 -	db8500_add_uart0(&uart0_plat);
 -	db8500_add_uart1(&uart1_plat);
 -	db8500_add_uart2(&uart2_plat);
 +	db8500_add_uart0(parent, &uart0_plat);
 +	db8500_add_uart1(parent, &uart1_plat);
 +	db8500_add_uart2(parent, &uart2_plat);
  }
  
+ static void __init u8500_cryp1_hash1_init(void)
+ {
+ 	db8500_add_cryp1(&u8500_cryp1_platform_data);
+ 	db8500_add_hash1(&u8500_hash1_platform_data);
+ }
+ 
  static struct platform_device *snowball_platform_devs[] __initdata = {
  	&snowball_led_dev,
  	&snowball_key_dev,
@@@ -621,10 -657,8 +667,12 @@@ static void __init mop500_init_machine(
  
  	mop500_pins_init();
  
+ 	u8500_cryp1_hash1_init();
+ 
 +	/* FIXME: parent of ab8500 should be prcmu */
 +	for (i = 0; i < ARRAY_SIZE(mop500_platform_devs); i++)
 +		mop500_platform_devs[i]->dev.parent = parent;
 +
  	platform_add_devices(mop500_platform_devs,
  			ARRAY_SIZE(mop500_platform_devs));
  
diff --cc arch/arm/mach-ux500/board-u5500.c
index 0ff4be7,865aaf8..0000000
--- a/arch/arm/mach-ux500/board-u5500.c
+++ b/arch/arm/mach-ux500/board-u5500.c
@@@ -135,19 -182,13 +182,20 @@@ static void __init u5500_uart_init(stru
  
  static void __init u5500_init_machine(void)
  {
 -	u5500_init_devices();
 +	struct device *parent = NULL;
 +	int i;
 +
 +	parent = u5500_init_devices();
  	nmk_config_pins(u5500_pins, ARRAY_SIZE(u5500_pins));
 -	u5500_i2c_init();
 -	u5500_sdi_init();
 -	u5500_uart_init();
 +
 +	u5500_i2c_init(parent);
 +	u5500_sdi_init(parent);
 +	u5500_uart_init(parent);
+ 	u5500_cryp1_hash1_init();
  
 +	for (i = 0; i < ARRAY_SIZE(u5500_platform_devices); i++)
 +		u5500_platform_devices[i]->dev.parent = parent;
 +
  	platform_add_devices(u5500_platform_devices,
  		ARRAY_SIZE(u5500_platform_devices));
  }

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

             reply	other threads:[~2012-05-07  2:11 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07  2:11 Stephen Rothwell [this message]
2012-05-07  4:16 ` linux-next: manual merge of the crypto tree with Linus' tree Herbert Xu
2012-05-07  8:09 ` Arnd Bergmann
2012-05-07  9:04   ` Herbert Xu
2012-05-07 11:02     ` Linus Walleij
  -- strict thread matches above, loose matches on Subject: below --
2023-06-26  1:52 Stephen Rothwell
2021-06-15  1:39 Stephen Rothwell
2020-09-21  2:36 Stephen Rothwell
2020-05-11  3:23 Stephen Rothwell
2019-11-05  2:23 Stephen Rothwell
2019-08-23  3:08 Stephen Rothwell
2019-08-23  3:25 ` Nick Desaulniers
2019-06-11  2:07 Stephen Rothwell
2019-06-03  0:52 Stephen Rothwell
2014-05-09  2:07 Stephen Rothwell
2014-05-09 12:51 ` Herbert Xu
2014-04-17  2:57 Stephen Rothwell
2014-04-17  2:49 Stephen Rothwell
2012-05-07  2:31 Stephen Rothwell
2012-05-07  4:20 ` Herbert Xu
2010-04-14  1:48 Stephen Rothwell
2010-04-14  3:14 ` Herbert Xu

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=20120507121137.bdfc96ed31649040506d9c75@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=andreas.westin@stericsson.com \
    --cc=arnd@arndb.de \
    --cc=herbert@gondor.hengli.com.au \
    --cc=lee.jones@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.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).