--TYecfFk8j8mZq+dy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
slc82c105_bridge_revision() functions lacks __init modifier.
Attached patch (against 2.5.17) fixes it.
Compiles, but untested. Please consider applying.
Best regards.
--=20
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net
--TYecfFk8j8mZq+dy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-slc82c105
diff -urN -X /usr/share/dontdiff linux.vanilla/drivers/ide/sl82c105.c linux/drivers/ide/sl82c105.c
--- linux.vanilla/drivers/ide/sl82c105.c Tue May 21 01:56:18 2002
+++ linux/drivers/ide/sl82c105.c Wed May 22 03:10:09 2002
@@ -185,7 +185,7 @@
* Return the revision of the Winbond bridge
* which this function is part of.
*/
-static unsigned int sl82c105_bridge_revision(struct pci_dev *dev)
+static unsigned int __init sl82c105_bridge_revision(struct pci_dev *dev)
{
struct pci_dev *bridge;
unsigned char rev;
--TYecfFk8j8mZq+dy--
--zbGR4y+acU1DwHSi
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE862IABm4rlNOo3YgRAoiGAKCDnJZLQBg9pThQzczUAJv0XBzmBACfZJBy
R0yRpTaWRU5hcF/xgIN6Pmg=
=ZO6i
-----END PGP SIGNATURE-----
--zbGR4y+acU1DwHSi--
-
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/