lkml.org 
[lkml]   [1998]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjectlinux/drivers/sound/bin2hex.c patch
Date
I was hoping something like this would make it into 2.1.91.  Oh well...
Alan, Linus, Michael, Thomas: please add to .92. This allows maui_boot.h
to be created as Alan intended (the __initdata stuff) and actually compile.
Note that a similar thing needs to be done to the hex2hex.c file (and
there's a beautiful syntax error in that one where a '^]' needs to be
replaced by ']'). (Are there any MediaTrix AudioTrix Pro users? If
so, why haven't we heard from you?)

====--CUT HERE--====
--- linux/drivers/sound/bin2hex.c.orig Wed Mar 18 09:11:12 1998
+++ linux/drivers/sound/bin2hex.c Thu Mar 26 21:36:21 1998
@@ -22,7 +22,10 @@

varname = argv[1];
printf( "/* automatically generated by bin2hex */\n" );
- printf( "static unsigned char %s [] %s =\n{\n", varname , id?"__initdata":"");
+ if(id)
+ printf( "#include <asm/init.h>\n" );
+ printf( "static unsigned char%s%s [] =\n{\n",
+ id ? " __initdata " : " ", varname );

while ( ( c = getchar( ) ) != EOF )
{
====--TUC EREH--====
--
Bob Tracy | "They couldn't hit an elephant at this dist- "
Firewall Security Corp. | - Last words of Union General John Sedgwick,
rct@frus.com | Battle of Spotsylvania Court House, U.S. Civil War
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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