Commit b2fd16b4 authored by Horms's avatar Horms Committed by Jeff Garzik
Browse files

[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


 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

~/ 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 <

 ne2k-pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Signed-off-by: default avatarJeff Garzik <>
parent d4b7780e
......@@ -117,7 +117,7 @@ enum ne2k_pci_chipsets {
static const struct {
static struct {
char *name;
int flags;
} pci_clone_list[] __devinitdata = {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment