forked from luck/tmp_suning_uos_patched
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:
parent
a90e81579d
commit
9eb0e6f26e
@ -74,7 +74,8 @@ static struct platform_device_id fec_devtype[] = {
|
|||||||
}, {
|
}, {
|
||||||
.name = "imx28-fec",
|
.name = "imx28-fec",
|
||||||
.driver_data = FEC_QUIRK_ENET_MAC | FEC_QUIRK_SWAP_FRAME,
|
.driver_data = FEC_QUIRK_ENET_MAC | FEC_QUIRK_SWAP_FRAME,
|
||||||
}
|
},
|
||||||
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
static unsigned char macaddr[ETH_ALEN];
|
static unsigned char macaddr[ETH_ALEN];
|
||||||
|
Loading…
Reference in New Issue
Block a user