The patch titled vesafb: Update platform code has been removed from the -mm tree. Its filename is vesafb-update-platform-code.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: vesafb: Update platform code From: "Antonino A. Daplas" <adaplas@xxxxxxxxx> Update platform code to dynamically allocate the platform device Signed-off-by: Antonino Daplas <adaplas@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/video/vesafb.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff -puN drivers/video/vesafb.c~vesafb-update-platform-code drivers/video/vesafb.c --- a/drivers/video/vesafb.c~vesafb-update-platform-code +++ a/drivers/video/vesafb.c @@ -460,9 +460,7 @@ static struct platform_driver vesafb_dri }, }; -static struct platform_device vesafb_device = { - .name = "vesafb", -}; +static struct platform_device *vesafb_device; static int __init vesafb_init(void) { @@ -475,10 +473,19 @@ static int __init vesafb_init(void) ret = platform_driver_register(&vesafb_driver); if (!ret) { - ret = platform_device_register(&vesafb_device); - if (ret) + vesafb_device = platform_device_alloc("vesafb", 0); + + if (vesafb_device) + ret = platform_device_add(vesafb_device); + else + ret = -ENOMEM; + + if (ret) { + platform_device_put(vesafb_device); platform_driver_unregister(&vesafb_driver); + } } + return ret; } module_init(vesafb_init); _ Patches currently in -mm which might be from adaplas@xxxxxxxxx are origin.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html