Commit 9eb0e6f2 authored by Axel Lin's avatar Axel Lin Committed by David S. Miller

net/fec: fix unterminated platform_device_id table

The platform_device_id table is supposed to be zero-terminated.
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a90e8157
......@@ -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];
......
Markdown is supported
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