summaryrefslogtreecommitdiff
path: root/drivers/of/unittest.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2014-11-28 02:57:22 +0300
committerGrant Likely <grant.likely@linaro.org>2014-11-28 02:57:22 +0300
commit63ebecc03d2f18411da51a0981bd63818bbd0b54 (patch)
tree40f18253610d284bac8e87d68a27fa8688ee4280 /drivers/of/unittest.c
parenta81a6c654bbe129af529d11b4763367af90d1152 (diff)
downloadlinux-63ebecc03d2f18411da51a0981bd63818bbd0b54.tar.xz
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>
Diffstat (limited to 'drivers/of/unittest.c')
-rw-r--r--drivers/of/unittest.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c
index cc0c5ec5d464..7a7ae07d592f 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,