Skip to content

Commit

Permalink
[PATCH] net: ne2k.c won't compile if pci_clone_list is const
Browse files Browse the repository at this point in the history
net: ne2k.c won't compile if pci_clone_list is const

f71e130 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>
  • Loading branch information
Horms authored and Jeff Garzik committed Mar 24, 2006
1 parent d4b7780 commit b2fd16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ne2k-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ enum ne2k_pci_chipsets {
};


static const struct {
static struct {
char *name;
int flags;
} pci_clone_list[] __devinitdata = {
Expand Down

0 comments on commit b2fd16b

Please sign in to comment.