Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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];