Skip to content

Commit

Permalink
net/fec: fix unterminated platform_device_id table
Browse files Browse the repository at this point in the history
The platform_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Axel Lin authored and David S. Miller committed Feb 28, 2011
1 parent a90e815 commit 9eb0e6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ static struct platform_device_id fec_devtype[] = {
}, {
.name = "imx28-fec",
.driver_data = FEC_QUIRK_ENET_MAC | FEC_QUIRK_SWAP_FRAME,
}
},
{ }
};

static unsigned char macaddr[ETH_ALEN];
Expand Down

0 comments on commit 9eb0e6f

Please sign in to comment.