From 99d28cf935d2d15a724f2d750b1732ed58e7aa09 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 30 Jun 2019 00:11:46 -0400 Subject: Use EXPORT_SYMBOL() --- diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon index 3d4c3f7..6f0cae6 100755 --- a/bin/bdf2fbcon +++ b/bin/bdf2fbcon @@ -209,6 +209,7 @@ sub write_fbcon } $output_fh->printf(" * Generated by bdf2fbcon\n */\n\n"); $output_fh->printf("#include \n\n"); + $output_fh->printf("#include \n\n"); $output_fh->printf("#define FONTDATAMAX %d\n\n", $bytes_x * $font->{'height'} * 256); $output_fh->printf('static const unsigned char' . @@ -243,7 +244,7 @@ sub write_fbcon $output_fh->printf("\t.height\t= %d,\n", $font->{'height'}); $output_fh->printf("\t.data\t= fontdata_%s,\n", $font->{'id'}); $output_fh->printf("\t.pref\t= %d,\n", $font->{'pref'}); - $output_fh->printf("};\n"); + $output_fh->printf("};\nEXPORT_SYMBOL(font_%s);\n", $font->{'id'}); if ($output ne '-') { close($output_fh); -- cgit v0.9.1