Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 25 Feb 2003 23:56:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 25 Feb 2003 23:56:30 -0500 Received: from pandora.cantech.net.au ([203.26.6.29]:50181 "EHLO pandora.cantech.net.au") by vger.kernel.org with ESMTP id ; Tue, 25 Feb 2003 23:56:29 -0500 Date: Wed, 26 Feb 2003 13:06:42 +0800 (WST) From: "Anthony J. Breeds-Taurima" To: lkml Subject: [PATCH] fix compile for drivers/pcmcia/i82365.c Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1346 Lines: 35 Hello All, The 2.5.63 kernel contains changes to pnp.h that mean the template arg is nolonger there. The object compiles with this patch. If this patch is correct I'm happy to create patches that will fix the same issue in the rest of the drivers tree. -------------------------------------------------------------------------------- diff -X dontdiff -purN linux-2.5.63.clean/drivers/pcmcia/i82365.c linux-2.5.63.i82365/drivers/pcmcia/i82365.c --- linux-2.5.63.clean/drivers/pcmcia/i82365.c 2003-02-27 10:55:04.000000000 +0800 +++ linux-2.5.63.i82365/drivers/pcmcia/i82365.c 2003-02-27 12:31:08.000000000 +0800 @@ -846,7 +846,7 @@ static void __init isa_probe(void) printk("PNP "); - if (pnp_activate_dev(dev, NULL) < 0) { + if (pnp_activate_dev(dev) < 0) { printk("activate failed\n"); pnp_device_detach(dev); break; -------------------------------------------------------------------------------- Yours Tony. /* * "The significant problems we face cannot be solved at the * same level of thinking we were at when we created them." * --Albert Einstein */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/