Kim Phillips
dc4e4207ed
[POWERPC] FSL: fix mpc83xx_spi device registration
calling platform_device_register after platform_device_alloc causes
this:
kobject (c3841a70): tried to init an initialized object, something is seriously wrong.
Call Trace:
[c381fe20] [c0007bb8] show_stack+0x3c/0x194 (unreliable)
[c381fe50] [c01322a8] kobject_init+0xb8/0xbc
[c381fe60] [c01591cc] device_initialize+0x30/0x9c
[c381fe80] [c015ee34] platform_device_register+0x1c/0x34
[c381fea0] [c02f1fe0] of_fsl_spi_probe+0x21c/0x22c
[c381ff30] [c02f2044] fsl_spi_init+0x54/0x160
[c381ff60] [c02f3924] __machine_initcall_mpc832x_rdb_mpc832x_spi_init+0x120/0x138
[c381ff70] [c02e61b4] kernel_init+0x98/0x284
[c381fff0] [c000f740] kernel_thread+0x44/0x60
fixed by calling platform_device_add (second half of
platform_device_register) instead.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-02-05 23:38:27 -06:00
..
2008-01-26 15:26:01 -07:00
2008-01-31 11:25:51 +11:00
2007-12-06 14:44:30 +11:00
2008-01-28 08:31:05 -06:00
2007-10-04 11:02:04 -05:00
2007-02-07 14:03:20 +11:00
2008-01-28 08:31:05 -06:00
2007-11-09 03:47:44 -06:00
2007-08-17 11:02:06 +10:00
2006-11-01 14:52:48 +11:00
2006-12-04 16:08:25 +11:00
2007-10-15 14:29:49 -04:00
2008-01-23 19:31:16 -06:00
2007-07-23 10:27:08 -05:00
2008-01-23 19:35:15 -06:00
2008-01-23 19:35:15 -06:00
2008-02-05 23:38:27 -06:00
2007-10-08 08:38:47 -05:00
2007-12-20 16:18:07 +11:00
2007-11-08 14:15:29 +11:00
2007-10-12 14:05:17 +10:00
2008-01-31 11:25:51 +11:00
2007-12-12 01:53:07 -06:00
2007-12-23 13:12:34 -06:00
2008-01-28 08:31:05 -06:00
2008-01-28 08:31:05 -06:00
2007-12-20 16:15:51 +11:00
2008-01-28 08:31:02 -06:00
2007-07-10 00:33:51 -05:00
2007-09-19 15:25:34 +10:00
2007-12-20 16:15:23 +11:00
2007-10-03 09:11:42 +10:00
2008-01-31 11:25:51 +11:00
2007-12-28 09:22:24 -06:00
2008-01-31 11:25:51 +11:00
2008-01-17 14:56:54 +11:00
2007-09-14 01:33:20 +10:00
2008-01-17 14:56:54 +11:00
2007-09-22 14:49:21 +10:00
2008-01-25 07:07:26 -06:00
2007-12-06 14:44:30 +11:00
2008-01-08 08:05:23 -06:00
2007-12-23 13:18:49 -06:00
2007-08-17 13:18:58 -05:00
2008-01-17 14:56:54 +11:00
2007-09-14 01:33:20 +10:00
2008-01-17 14:56:54 +11:00
2008-01-09 07:48:31 -07:00