summaryrefslogtreecommitdiff
path: root/drivers/staging/sxg
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-01-21 08:15:58 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:53:11 -0700
commit5774538441aa4255a510ac304d4a3af589cd2c56 (patch)
treed2eabaea08294f4f895d1953184e4582a5451d85 /drivers/staging/sxg
parentaac6d7bed183fa2f09ea45e1f05c7ae302514da8 (diff)
Staging: sxg: fix build warnings in downloadB firmware files
These variables are never used, so #ifdef them away. This should probably be fixed up properly from someone who knows why we are even including these files in the first place, when they do not seem to be needed at all. Cc: Mithlesh Thukral <mithlesh@linsyssoft.com> Cc: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sxg')
-rw-r--r--drivers/staging/sxg/saharadbgdownloadB.c2
-rw-r--r--drivers/staging/sxg/saharadownloadB.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/sxg/saharadbgdownloadB.c b/drivers/staging/sxg/saharadbgdownloadB.c
index 0d2ae149510..3643c481496 100644
--- a/drivers/staging/sxg/saharadbgdownloadB.c
+++ b/drivers/staging/sxg/saharadbgdownloadB.c
@@ -2,6 +2,7 @@
#define SAHARA_B_UCODE_VERS_DATE "$Date: 2008/08/19 00:05:59 $"
#define SAHARA_B_UCODE_HOSTIF_ID 3
+#if 0
static u32 SBNumSections = 0x1;
static u32 SBSectionSize[] =
{
@@ -12,3 +13,4 @@ static u32 SBSectionStart[] =
0x00000000, 0x00001fff, };
static unsigned char SaharaUCodeB[1][1];
+#endif
diff --git a/drivers/staging/sxg/saharadownloadB.c b/drivers/staging/sxg/saharadownloadB.c
index 0d2ae149510..3643c481496 100644
--- a/drivers/staging/sxg/saharadownloadB.c
+++ b/drivers/staging/sxg/saharadownloadB.c
@@ -2,6 +2,7 @@
#define SAHARA_B_UCODE_VERS_DATE "$Date: 2008/08/19 00:05:59 $"
#define SAHARA_B_UCODE_HOSTIF_ID 3
+#if 0
static u32 SBNumSections = 0x1;
static u32 SBSectionSize[] =
{
@@ -12,3 +13,4 @@ static u32 SBSectionStart[] =
0x00000000, 0x00001fff, };
static unsigned char SaharaUCodeB[1][1];
+#endif