Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'driver-core-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core

Pull driver core fixes from Greg KH:
"Here are two small driver core fixes to resolve some reported issues

The first is to handle the much-reported (by the build systems)
problem that superH does not boot anymore.

The second handles an issue in the new platform logic that a number of
people ran into with the automated tests in kbuild

Both of these have been in linux-next with no reported issues"

* tag 'driver-core-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
drivers: Fix boot problem on SuperH
of/platform: Unconditionally pause/resume sync state during kernel init

+6 -9
+2 -9
arch/sh/drivers/platform_early.c
··· 325 325 } 326 326 327 327 /** 328 - * sh_early_platform_cleanup - clean up early platform code 328 + * early_platform_cleanup - clean up early platform code 329 329 */ 330 - static int __init sh_early_platform_cleanup(void) 330 + void __init early_platform_cleanup(void) 331 331 { 332 332 struct platform_device *pd, *pd2; 333 333 ··· 337 337 list_del(&pd->dev.devres_head); 338 338 memset(&pd->dev.devres_head, 0, sizeof(pd->dev.devres_head)); 339 339 } 340 - 341 - return 0; 342 340 } 343 - /* 344 - * This must happen once after all early devices are probed but before probing 345 - * real platform devices. 346 - */ 347 - subsys_initcall(sh_early_platform_cleanup);
+4
drivers/base/platform.c
··· 1325 1325 } 1326 1326 EXPORT_SYMBOL_GPL(platform_find_device_by_driver); 1327 1327 1328 + void __weak __init early_platform_cleanup(void) { } 1329 + 1328 1330 int __init platform_bus_init(void) 1329 1331 { 1330 1332 int error; 1333 + 1334 + early_platform_cleanup(); 1331 1335 1332 1336 error = device_register(&platform_bus); 1333 1337 if (error) {