patch-2.4.11-dontuse linux/arch/cris/drivers/lpslave/bintocarr.pl
Next file: linux/arch/cris/drivers/parport.c
Previous file: linux/arch/cris/drivers/ethernet.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Oct 8 11:43:54 2001
- Orig file:
v2.4.10/linux/arch/cris/drivers/lpslave/bintocarr.pl
- Orig date:
Wed Jul 25 17:10:17 2001
diff -u --recursive --new-file v2.4.10/linux/arch/cris/drivers/lpslave/bintocarr.pl linux/arch/cris/drivers/lpslave/bintocarr.pl
@@ -1,5 +1,5 @@
#!/usr/bin/perl -w
-# $Id: bintocarr.pl,v 1.3 2001/06/08 08:46:50 olof Exp $
+# $Id: bintocarr.pl,v 1.4 2001/08/08 08:18:13 bjarne Exp $
# Copy of mkjulbin.pl made by Olof
# convert a binary stdin to a C-file containing a char array of the input
# first argument is the symbol name
@@ -7,7 +7,8 @@
$symbol = shift @ARGV;
print "#include <linux/init.h>\n\n";
-print "unsigned char $symbol", "[] __initdata = {\n";
+#print "unsigned char $symbol", "[] __initdata = {\n";
+print "unsigned char $symbol", "[] = {\n";
my $char;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)