From: Horms Date: Thu, 23 Mar 2006 07:36:28 +0000 (+0900) Subject: [PATCH] net: ne2k.c won't compile if pci_clone_list is const X-Git-Tag: MMI-PSA29.97-13-9~51280 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b2fd16b4ff2508ac16ae994f4bcd941f97754c00;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] net: ne2k.c won't compile if pci_clone_list is const net: ne2k.c won't compile if pci_clone_list is const f71e130966ba429dbd24be08ddbcdf263df9a5ad which (amongst other things) made pci_clone_list in ne2k-pci.c const causes the following compile error. This patch reverses that portion of that changeset drivers/net/ne2k-pci.c:123: error: pci_clone_list causes a section type conflict ~/ gcc --version gcc (GCC) 4.0.3 (Debian 4.0.3-1) ~/ dpkg gcc-4.0 | grep Version Version: 4.0.3-1 Signed-Off-By: Horms --- diff --git a/drivers/net/ne2k-pci.c b/drivers/net/ne2k-pci.c index e3ebb5803b02..d11821dd86ed 100644 --- a/drivers/net/ne2k-pci.c +++ b/drivers/net/ne2k-pci.c @@ -117,7 +117,7 @@ enum ne2k_pci_chipsets { }; -static const struct { +static struct { char *name; int flags; } pci_clone_list[] __devinitdata = {