of: Remove unneeded and incorrect MODULE_DEVICE_TABLE
authorGrant Likely <grant.likely@linaro.org>
Thu, 27 Nov 2014 23:57:22 +0000 (23:57 +0000)
committerGrant Likely <grant.likely@linaro.org>
Thu, 27 Nov 2014 23:57:22 +0000 (23:57 +0000)
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>
drivers/of/unittest.c

index cc0c5ec5d464a74ab1a42d7acc6c5de220f34274..7a7ae07d592f066a4c99c8626dfb78ed3a682bdf 100644 (file)
@@ -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,