Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 7 Mar 2002 10:59:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 7 Mar 2002 10:59:36 -0500 Received: from sproxy.gmx.de ([213.165.64.20]:56345 "HELO mail.gmx.net") by vger.kernel.org with SMTP id ; Thu, 7 Mar 2002 10:59:16 -0500 Date: Thu, 7 Mar 2002 17:02:51 +0100 From: Sebastian Droege To: linux-kernel@vger.kernel.org, davej@suse.de Subject: [PATCH-2.5.5-dj3] some OSS link fixes with new binutils Message-Id: <20020307170251.1bb14e81.sebastian.droege@gmx.de> X-Mailer: Sylpheed version 0.7.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.xJvPce(W8aK8hM" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --=.xJvPce(W8aK8hM Content-Type: multipart/mixed; boundary="Multipart_Thu__7_Mar_2002_17:02:51_+0100_0826b4e8" --Multipart_Thu__7_Mar_2002_17:02:51_+0100_0826b4e8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, this patch adds __devexit_p where necessary and change some stupid (?) and confusing __devinit to __devexit in the remove functions with this and the previous patch for the cs4281 all OSS drivers compile and link fine for me I have had some compile errors if gameport/joystick support is disabled and I'll look at the code again later the day Patch against 2.5.5-dj3 attached Bye --Multipart_Thu__7_Mar_2002_17:02:51_+0100_0826b4e8 Content-Type: application/octet-stream; name="ossdrivers.patch" Content-Disposition: attachment; filename="ossdrivers.patch" Content-Transfer-Encoding: base64 ZGlmZiAtTnVyIGxpbnV4LTIuNS41LW9sZC9zb3VuZC9vc3MvY3M0Nnh4LmMgbGludXgtMi41LjUv c291bmQvb3NzL2NzNDZ4eC5jCi0tLSBsaW51eC0yLjUuNS1vbGQvc291bmQvb3NzL2NzNDZ4eC5j CVRodSBNYXIgIDcgMTQ6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luaXRfc29uaWN2aWJlcyh2b2lkKQo= --Multipart_Thu__7_Mar_2002_17:02:51_+0100_0826b4e8-- --=.xJvPce(W8aK8hM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8h48xe9FFpVVDScsRAlcrAJ93wOO5BWDgvCiymkOrdt8VbSI8KQCgjqaG /k3MFUu1VfI2vNSuEFiajxk= =W8iS -----END PGP SIGNATURE----- --=.xJvPce(W8aK8hM-- - 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/