net/fec: fix unterminated platform_device_id table

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>
This commit is contained in:
Axel Lin 2011-02-22 23:28:46 +00:00 committed by David S. Miller
parent a90e81579d
commit 9eb0e6f26e

View file

@ -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];