diff options
author | Horms <horms@verge.net.au> | 2006-03-23 16:36:28 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-24 12:10:55 -0500 |
commit | b2fd16b4ff2508ac16ae994f4bcd941f97754c00 (patch) | |
tree | 45014cb8e62adc5b0e8e788fe1cfd78dfcd12d50 /drivers/net/ne2k-pci.c | |
parent | d4b7780ea1d2e08410fcc9963a57254147ae577a (diff) | |
download | op-kernel-dev-b2fd16b4ff2508ac16ae994f4bcd941f97754c00.zip op-kernel-dev-b2fd16b4ff2508ac16ae994f4bcd941f97754c00.tar.gz |
[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 <horms@verge.net.au
ne2k-pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
cee0890cc97247b6a9decd94f5dc0719ac8f0b1b
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ne2k-pci.c')
-rw-r--r-- | drivers/net/ne2k-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ne2k-pci.c b/drivers/net/ne2k-pci.c index e3ebb58..d11821d 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 = { |