Skip to content

Commit

Permalink
of: Remove unneeded and incorrect MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Pantelis Antoniou <[email protected]>
  • Loading branch information
glikely committed Nov 27, 2014
1 parent a81a6c6 commit 63ebecc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/of/unittest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 63ebecc

Please sign in to comment.