[PATCH] VIA IDE driver: missing __initdata

Andrey Panin (pazke@orbita1.ru)
Wed, 22 May 2002 13:21:21 +0400


--l+goss899txtYvYf
Content-Type: multipart/mixed; boundary="imjhCm/Pyz7Rq5F2"
Content-Disposition: inline

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

via_isa_bridges array lacks __initdata. Patch attached.
This one is tested on my machine.

--=20
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net
--imjhCm/Pyz7Rq5F2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-via82cxxx

diff -urN -X /usr/share/dontdiff linux.vanilla/drivers/ide/via82cxxx.c linux/drivers/ide/via82cxxx.c
--- linux.vanilla/drivers/ide/via82cxxx.c Tue May 21 01:55:59 2002
+++ linux/drivers/ide/via82cxxx.c Wed May 22 03:22:11 2002
@@ -105,7 +105,7 @@
unsigned char rev_min;
unsigned char rev_max;
unsigned short flags;
-} via_isa_bridges[] = {
+} via_isa_bridges[] __initdata = {
#ifdef FUTURE_BRIDGES
{ "vt8237", PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 },
{ "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 },

--imjhCm/Pyz7Rq5F2--

--l+goss899txtYvYf
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

iD8DBQE862MRBm4rlNOo3YgRAsBOAJ9l7VHwhlJ85Pmx5pT8dnxcrENdIgCffOnT
vGumpzx1U5Ugo8EYDNhOz4A=
=YcCP
-----END PGP SIGNATURE-----

--l+goss899txtYvYf--
-
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/