LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH] tiny ens1370.c warning fix, bk 2.5.52
@ 2002-12-20 22:52 carbonated beverage
  0 siblings, 0 replies; only message in thread
From: carbonated beverage @ 2002-12-20 22:52 UTC (permalink / raw
  To: linux-kernel

hi all,

	__devinitdata is in the wrong location in ens1370.c, so it's
apparently ignored by gcc and the struct isn't freed.  here's a small
patch to fix that.

-- DN
Daniel

--- ens1370.c.orig	Fri Dec 20 02:03:24 2002
+++ ens1370.c	Fri Dec 20 14:54:24 2002
@@ -1431,7 +1431,7 @@
 	unsigned short vid;		/* vendor ID */
 	unsigned short did;		/* device ID */
 	unsigned char rev;		/* revision */
-} __devinitdata es1371_spdif_present[] = {
+} es1371_spdif_present[] __dev_initdata = {
 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_C },
 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_D },
 	{ .vid = PCI_VENDOR_ID_ENSONIQ, .did = PCI_DEVICE_ID_ENSONIQ_CT5880, .rev = CT5880REV_CT5880_E },

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-20 22:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-20 22:52 [PATCH] tiny ens1370.c warning fix, bk 2.5.52 carbonated beverage

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).