linux-mips
[Top] [All Lists]

[PATCH] - PMC Titan network controller - compilation problem with gcc4.0

To: linux-mips@linux-mips.org
Subject: [PATCH] - PMC Titan network controller - compilation problem with gcc4.0.2
From: Hemant Mohan <hemant.mohan@wipro.com>
Date: Thu, 16 Feb 2006 18:16:24 +0530
Organization: Wipro Technologies
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: hemant.mohan@wipro.com
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5 (X11/20051201)
This fixes the compilation error in PMC Titan network Controller, with gcc 4.0.2.

Thanks,
Hemant

Submitted By: Hemant Mohan (hemant dot mohan at wipro dot com)
Date: 2006-02-16
Initial Package Version: 2.6.15
Origin: Linux-MIPS
Description:  Fixes compilation error with PMC Titan network controller with 
gcc4.0.2

diff -Naur linux-2.6.15-mips-orig/drivers/net/titan_ge.h 
linux-mips-hemant-2.6.15/drivers/net/titan_ge.h
--- linux-2.6.15-mips-orig/drivers/net/titan_ge.h       2006-01-09 
21:57:29.000000000 +0530
+++ linux-mips-hemant-2.6.15/drivers/net/titan_ge.h     2006-02-14 
17:33:50.000000000 +0530
@@ -44,7 +44,6 @@
 #define        TITAN_SRAM_BASE         ((OCD_READ(RM9000x2_OCD_LKB13) & ~1) << 
4)
 #define        TITAN_SRAM_SIZE         0x2000UL
 
-extern unsigned long titan_ge_sram;
 
 /*
  * We may need these constants
<Prev in Thread] Current Thread [Next in Thread>