The patch titled spi-imx: use platform_driver_probe as probe lives in .init.text has been removed from the -mm tree. Its filename was spi-imx-use-platform_driver_probe-as-probe-lives-in-inittext.patch This patch was dropped because it is obsolete The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: spi-imx: use platform_driver_probe as probe lives in .init.text From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Using platform_driver_register with a probe function defined using __init is wrong. This fixes an oops after: cd /sys/bus/platform/drivers/spi_imx echo -n spi_imx.0 > unbind echo -n spi_imx.0 > bind Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Cc: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Cc: Daniel Mack <daniel@xxxxxxxx> Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> Cc: Grant Likely <grant.likely@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/spi/spi_imx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/spi/spi_imx.c~spi-imx-use-platform_driver_probe-as-probe-lives-in-inittext drivers/spi/spi_imx.c --- a/drivers/spi/spi_imx.c~spi-imx-use-platform_driver_probe-as-probe-lives-in-inittext +++ a/drivers/spi/spi_imx.c @@ -667,13 +667,12 @@ static struct platform_driver spi_imx_dr .name = DRIVER_NAME, .owner = THIS_MODULE, }, - .probe = spi_imx_probe, .remove = __devexit_p(spi_imx_remove), }; static int __init spi_imx_init(void) { - return platform_driver_register(&spi_imx_driver); + return platform_driver_probe(&spi_imx_driver, spi_imx_probe); } static void __exit spi_imx_exit(void) _ Patches currently in -mm which might be from u.kleine-koenig@xxxxxxxxxxxxxx are origin.patch mxcmmc-fix-error-path-in-mxcmci_probe.patch linux-next.patch hrtimer-correct-a-few-numbers-in-comments.patch clockevents-ensure-taht-min_delta_ns-is-increased-in-error-path.patch spi-imx-use-platform_driver_probe-as-probe-lives-in-inittext.patch rtc-add-freescale-mc13783-rtc-driver.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