The patch titled arch-x86-platform-iris-irisc-register-a-platform-device-and-a-platform-driver-fix-2 has been removed from the -mm tree. Its filename was arch-x86-platform-iris-irisc-register-a-platform-device-and-a-platform-driver-fix-2.patch This patch was dropped because it was folded into arch-x86-platform-iris-irisc-register-a-platform-device-and-a-platform-driver.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: arch-x86-platform-iris-irisc-register-a-platform-device-and-a-platform-driver-fix-2 From: Shérab <Sebastien.Hinderer@xxxxxxxxxxxx> There was one code block that I commented to be able to test the patch dnd then forgot to uncomment again, and then you removed it but it should actually have been uncommented rather than removed. So here is the patch tat corrects the code, to be applied on top of your own patch. Cc: Len Brown <lenb@xxxxxxxxxx> Cc: Matthew Garrett <mjg@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/platform/iris/iris.c | 6 ++++++ 1 file changed, 6 insertions(+) diff -puN arch/x86/platform/iris/iris.c~arch-x86-platform-iris-irisc-register-a-platform-device-and-a-platform-driver-fix-2 arch/x86/platform/iris/iris.c --- a/arch/x86/platform/iris/iris.c~arch-x86-platform-iris-irisc-register-a-platform-device-and-a-platform-driver-fix-2 +++ a/arch/x86/platform/iris/iris.c @@ -65,6 +65,12 @@ static void iris_power_off(void) */ static int iris_probe(struct platform_device *pdev) { + unsigned char status = inb(IRIS_GIO_INPUT); + if (status == IRIS_GIO_NODEV) { + printk(KERN_ERR "This machine does not seem to be an Iris. " + "Power off handler not installed.\n"); + return -ENODEV; + } old_pm_power_off = pm_power_off; pm_power_off = &iris_power_off; printk(KERN_INFO "Iris power_off handler installed.\n"); _ Patches currently in -mm which might be from Sebastien.Hinderer@xxxxxxxxxxxx are arch-x86-platform-iris-irisc-register-a-platform-device-and-a-platform-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