浏览代码

of: Remove unneeded and incorrect MODULE_DEVICE_TABLE

The unittest code has a MODULE_DEVICE_TABLE that isn't needed by any of
the unittests, and isn't even correct. Remove it.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Grant Likely 11 年之前
父节点
当前提交
63ebecc03d
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/of/unittest.c

+ 0 - 1
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,