[PATCH] drivers/net/epic100.c: missing __devinit

Andrey Panin (pazke@orbita1.ru)
Tue, 16 Apr 2002 14:53:29 +0400


--+g7M9IMkV8truYOl
Content-Type: multipart/mixed; boundary="pf9I7BMVVzbSWLtt"
Content-Disposition: inline

--pf9I7BMVVzbSWLtt
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.
Patch against 2.5.8. Compiles, but untested.

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

diff -urN -X /usr/share/dontdiff linux.vanilla/drivers/net/epic100.c linux/=
drivers/net/epic100.c
--- linux.vanilla/drivers/net/epic100.c Sun Apr 14 23:30:39 2002
+++ linux/drivers/net/epic100.c Sun Apr 14 23:20:08 2002
@@ -582,7 +582,7 @@
#define EE_READ256_CMD (6 << 8)
#define EE_ERASE_CMD (7 << 6)
=20
-static int read_eeprom(long ioaddr, int location)
+static int __devinit read_eeprom(long ioaddr, int location)
{
int i;
int retval =3D 0;

--pf9I7BMVVzbSWLtt--

--+g7M9IMkV8truYOl
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

iD8DBQE8vAKpBm4rlNOo3YgRAiriAJ49wrruRA9c0izbkk1HwX+DpTQNhQCgjbMB
M6xnOvw7wgftQwx8y8AMIN4=
=A3yg
-----END PGP SIGNATURE-----

--+g7M9IMkV8truYOl--
-
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/