lkml.org 
[lkml]   [2000]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectCompile error: drivers/sound/cs46xx.c (2.4.0-test7-pre7)
Hi. 

When I try to compile drivers/sound/cs46xx.c (2.4.0-test7-pre7) I
get the following error:

drivers/sound/cs46xx.c:2481: cards causes a section type conflict

The following trivial patch makes the __init into the intended
__initdata:

--- linux-240test7-pre7-clean/drivers/sound/cs46xx.c Wed Aug 23 08:50:23 2000
+++ linux/drivers/sound/cs46xx.c Wed Aug 23 19:43:09 2000
@@ -2478,7 +2478,7 @@
void (*active)(struct cs_card *, int);
};

-static struct cs_card_type __init cards[]={
+static struct cs_card_type __initdata cards[]={
{0x1489, 0x7001, "Genius Soundmaker 128 value", amp_none, NULL},
{0x5053, 0x3357, "Voyetra", amp_voyetra, NULL},
/* MI6020/21 use the same chipset as the Thinkpads, maybe needed */
--
Regards,
Rasmus(rasmus@jaquet.dk)

Are they taking DDT?
-- Vice President Dan Quayle asking doctors at a Manhattan
AIDS clinic about their treatments of choice, 4/30/92
(reported in Esquire, 8/92, and NY Post early May 92)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:37    [W:0.051 / U:1.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site