diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c
index cc0c5ec5d464a74ab1a42d7acc6c5de220f34274..7a7ae07d592f066a4c99c8626dfb78ed3a682bdf 100644
--- a/drivers/of/unittest.c
+++ b/drivers/of/unittest.c
@@ -965,7 +965,6 @@ static struct of_device_id selftest_match[] = {
 	{ .compatible = "selftest", },
 	{},
 };
-MODULE_DEVICE_TABLE(of, altera_jtaguart_match);
 
 static struct platform_driver selftest_driver = {
 	.probe			= selftest_probe,