[PATCH] drivers/net/sis900.c: misiing __devinit

Andrey Panin (pazke@orbita1.ru)
Tue, 16 Apr 2002 15:20:36 +0400


--IuhbYIxU28t+Kd57
Content-Type: multipart/mixed; boundary="Il7n/DHsA0sMLmDu"
Content-Disposition: inline

--Il7n/DHsA0sMLmDu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This patch adds missing __devinit modifier for read_eeprom() function.=20
Patch against 2.5.8. Compiles, but untested.

--=20
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net
--Il7n/DHsA0sMLmDu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-sis900-devinit
Content-Transfer-Encoding: quoted-printable

diff -urN -X /usr/share/dontdiff linux.vanilla/drivers/net/sis900.c linux/d=
rivers/net/sis900.c
--- linux.vanilla/drivers/net/sis900.c Wed Mar 13 21:43:32 2002
+++ linux/drivers/net/sis900.c Sun Apr 14 23:52:57 2002
@@ -656,7 +656,7 @@
* Note that location is in word (16 bits) unit
*/
=20
-static u16 read_eeprom(long ioaddr, int location)
+static u16 __devinit read_eeprom(long ioaddr, int location)
{
int i;
u16 retval =3D 0;

--Il7n/DHsA0sMLmDu--

--IuhbYIxU28t+Kd57
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

iD8DBQE8vAkEBm4rlNOo3YgRAsMbAJwOzQMzpD0e7HnrjBQkj47xaZDmFQCeJ2rN
IYV22lkwKnD7iF5LKwz62J8=
=h0Wr
-----END PGP SIGNATURE-----

--IuhbYIxU28t+Kd57--
-
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/